Vidyalelo
C++ Programming · Q29

Control Flow Statements in C++

Programming · C++ Programming · question 29

Q29

What is the syntax for the 'else if' statement in C++?

A.
else if (condition) { statement; }
Answer
B.
if else (condition) { statement; }
C.
elseif (condition) { statement; }
D.
else (condition) { statement; }

Answer: Option A

Solution

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