Which loop structure is guaranteed to execute at least once even if the condition is false? 

  • for loop 
  • while loop 
  • do-while loop 
  • switch-case
The do-while loop is designed to execute its block of code at least once before checking the condition. This ensures that the loop body runs even if the condition is false from the start.
Add your answer
Loading...

Leave a comment

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