The ________ loop guarantees at least one execution of the loop body, even if the condition is false from the start.

  • do-while
  • for
  • switch
  • while
The 'do-while' loop in programming ensures that the loop body is executed at least once, even if the condition is false initially. It's used when you want to run the loop body before checking the condition.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *