Important MCQ

An infinite loop is a loop that

Q.An infinite loop is a loop that

A) never ends
B) runs once
C) never runs
D) has no body
Correct Answer:
Option A
Detailed Explanation:
A) never ends 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.