MCQ Single Best Answer Easy

QWhich loop is best suited for scenarios where you want to repeat a block of code while a condition is true?

ID: #15972 C Language Loop Control 121 views
Question Info
#15972Q ID
EasyDifficulty
C Language Loop ControlTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A for loop
  • B while loop
  • C do-while loop
  • D if-else loop
Correct Answer: Option B

Explanation

The while loop repeatedly executes a block of code as long as the specified condition remains true.

Share This Question

Challenge a friend or share with your study group.