The loop do { /* code */ } while(_______); will always execute the code block at least once. 

  • FALSE 
  • TRUE 
  • sometimes
The "do-while" loop in C++ always executes its body once before checking the condition. So even if the condition in the "while" part is "false", the body of the loop will execute once. This differentiates it from the "while" loop which checks the condition before the first execution.
Add your answer
Loading...

Leave a comment

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