Important MCQ

The exit-controlled loop is

Q.The exit-controlled loop is

A) for
B) while
C) switch
D) do-while
Correct Answer:
Option D
Detailed Explanation:
D) do-while 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.