Vidyalelo
C++ Programming · Q11

Control Flow Statements in C++

Programming · C++ Programming · question 11

Q11

In C++, what is the difference between the 'while' loop and the 'do-while' loop?

A.
'while' loop always executes at least once, 'do-while' loop may not
B.
'while' loop always executes at least once, 'do-while' loop always does
C.
'while' loop checks condition before execution, 'do-while' loop checks after execution
Answer
D.
None of the above

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board