Vidyalelo
C++ Programming · Q2

Control Flow Statements in C++

Programming · C++ Programming · question 2

Q2

What is the purpose of the 'else' statement in C++?

A.
Executes after the 'if' block
B.
Executes before the 'if' block
C.
Executes when the 'if' condition is false
Answer
D.
Executes regardless of the 'if' block

Answer: Option C

Solution

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