Vidyalelo
C++ Programming · Q9

Control Flow Statements in C++

Programming · C++ Programming · question 9

Q9

What is the syntax for the 'do-while' loop in C++?

A.
do { condition; } while (statement);
B.
do { statement; } while (condition);
Answer
C.
do (condition) { statement; } while;
D.
None of the above

Answer: Option B

Solution

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