Vidyalelo
C++ Programming · Q41

Control Flow Statements in C++

Programming · C++ Programming · question 41

Q41

In C++, what is the syntax for the 'while' loop?

A.
while (condition) { statement; } condition;
B.
while { statement; } condition;
C.
while (condition) { statement; }
Answer
D.
while { condition } { statement; }

Answer: Option C

Solution

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