Question:What will happen if no case matches in a switch statement?
A It results in an error. B The program will crash. C The default case will execute if defined. D Nothing will happen.
+ AnswerC
+ ExplanationIf no cases match, the default block is executed, if it exists.
+ Report