Question

Which of the following tasks cannot be performed using a range-based for loop?
a. Calculating the product of all the values in an array.
b. Displaying all even element values in an array.
c. Incrementing the value stored in each element of the array.
d. Accessing the element's subscript.

Answer

This answer is hidden. It contains 33 characters.