Important MCQ

The statement that changes the loop variable is the

Q.The statement that changes the loop variable is the

A) condition
B) initialization
C) update
D) header
Correct Answer:
Option C
Detailed Explanation:
C) update is correct. A loop repeats a block of statements. One pass is an iteration; break exits a loop, continue skips the rest of the current iteration, and for/while are entry-controlled.