GATE | Sudo GATE 2020 Mock I (27 December 2019) | Question 27
Consider the following C program:
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.
(A) Printed: A
(B) Printed: E
(C) Printed: CD
Explanation: In switch statement default should be at mentioned after all the switch cases. In this case, it gets executed in between and all cases after default are executed before a break statement.
Option (C) is correct.
Quiz of this Question