Incrementing the value stored in each element of the array cannot be performed using an enhanced for loop
Explanation:
The enhanced for-loop helps one to simplify code by adding for-loops that visit every element of an array/collection without expressing specifically how one goes from. It is also referred to as a for-each loop since the loop iterates through each array/collection element.
The enhanced for-loop functions as below:
Hence, the enhanced for-loop does not allow Incrementing the value stored in each element of the array.