Q6
What is the correct syntax for the 'while' loop in C++?
A.
while (condition) { statement; }
AnswerB.
while (condition) then { statement; }
C.
while { condition } { statement; }
D.
while { statement; } condition;
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board