Important MCQ

A while loop is an

Q.A while loop is an

A) exit-controlled loop
B) selection statement
C) entry-controlled loop
D) declaration
Correct Answer:
Option C
Detailed Explanation:
C) entry-controlled loop is correct. A while loop checks its condition before each iteration, so it may run zero times. The loop body must update state when needed to avoid an unintended infinite loop.