1.

What is the output of the below program? #include int main() { int i = 0; switch (i) { case '0': printf("Geeks"); break; case '1': printf("Quiz"); break; default: printf("GeeksQuiz"); } return 0; }

A. Geeks
B. Quiz
C. GeeksQuiz
D. Compile-time error
Answer» D. Compile-time error


Discussion

No Comment Found

Related MCQs