Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to print the elements of a array using range based for loop

for(int i: array-name){
  cout<<i;
}
 
PREVIOUS NEXT
Tagged: #print #elements #array #range #based #loop
ADD COMMENT
Topic
Name
5+4 =