Q14
What is the syntax for the 'if-else' statement in C++?
A.
if (condition) then { statement; } else { statement; }
B.
if { condition } { statement; } else { statement; }
C.
if (condition) { statement; } else { statement; }
AnswerD.
if (condition) { statement; } else statement;
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board