C | Loops & Control Structure | Question 3
What is the output of the below program?
(D) Compile-time error
Explanation: At first look, the output of the program seems to be Geeks. But, the cases are labeled with characters which gets converted to their ascii values 48(for 0) and 49(for 1). None of the cases is labeled with value 0. So, the control goes to the default block and GeeksQuiz is printed.
My Personal Notes arrow_drop_up
Please Login to comment...