MCQ Single Best Answer Easy

QWhich loop in C is used to execute a block of code at least once?

ID: #15969 C Language Loop Control 133 views
Question Info
#15969Q 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 C

Explanation

The do-while loop executes the code block at least once before checking the loop condition. It is useful when you need to ensure the code block runs at least once.

Share This Question

Challenge a friend or share with your study group.