Multiple choice general knowledge science & technology

which loop executes for atleast one time not checking the condition ?

  1. do while

  2. while

  3. for

  4. if else

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

The do-while loop is the only looping construct that guarantees execution of its body at least once, because the condition is checked after the first iteration. While and for loops check the condition before entering, so they may execute zero times.