A

Admin • 825.56K Points
Coach

Q. What is the purpose of the update expression in a for loop?

  • (A) To end the loop
  • (B) To initialize variables
  • (C) To increment or modify loop control variables
  • (D) To check conditions

Explanation by: Admin
The update expression modifies the control variable each iteration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.