Important MCQ

for(;;) is

Q.for(;;) is

A) a loop that runs once
B) a loop that never starts
C) an infinite loop
D) an error always
Correct Answer:
Option C
Detailed Explanation:
C) an infinite loop 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.