Multiple choice

Which of the following is the exit controlled statement in C++?

  1. For loop

  2. Do-while loop

  3. While loop

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is an exit-controlled loop statement in which the loop statement is executed at least once, even if the condition is false.