A

Admin • 828.03K Points
Coach

Q. Which loop is used to access each element without index in an array?

  • (A) for-each
  • (B) while
  • (C) do-while
  • (D) standard for loop

Explanation by: Admin
for-each loop iterates over all elements without needing an index.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.