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; }
D. if (condition) { statement; } else statement;
Answer: Option C
Join The Discussion