Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?
Answers
Answered by
27
Explanation:
some cases, we have to execute a body of the loop at least once even if the condition is false. This type of operation can be achieved by using a do-while loop. In the do-while loop, the body of a loop is always executed at least once. After the body is executed, then it checks the condition
mark as brilliant
Similar questions