C | Loops & Control Structure | Question 17
Predict the output of the following program:
(B) Quiz GeeksQuiz
(D) Compile-time error
Explanation: The case labels must be constant inside switch block. Thats why the compile-time error: case label does not reduce to an integer constant is flashed.
Quiz of this Question