Vidyalelo
C++ Programming · Q8

Control Flow Statements in C++

Programming · C++ Programming · question 8

Q8

What is the purpose of the 'default' case in a 'switch' statement in C++?

A.
Executes before any other cases
B.
Executes after all other cases
C.
Executes when no case matches
Answer
D.
Executes instead of the 'case' cases

Answer: Option C

Solution

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