Important MCQ

The break statement

Q.The break statement

A) restarts the loop
B) exits the loop immediately
C) skips one iteration
D) declares a loop
Correct Answer:
Option B
Detailed Explanation:
B) exits the loop immediately 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.