Multiple Choice
The following statement for(int val : myArray)
Cout << val << " ";
Is an example of a(n)
A) regular for loop.
B) range-based for loop.
C) nested for loop.
D) infinite for loop.
E) illegal statement.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: The elements of an array can be<br>A)
Q7: To access an array element, use the
Q8: What does the following statement do?<br>Typedef int
Q9: The size of an array is the
Q10: When an array is passed to a
Q12: Any of the following statements can be
Q13: You can assign the contents of one
Q14: The following array definition is legal because
Q15: An array can be returned by a
Q16: Elements of vectors can be access by