Google News
logo
C# - Quiz(MCQ)
A)
The code snippet prints the result as "I am in Case i".
B)
The code snippet prints the result as "I am in Case j".
C)
Compiler will report an error since there is no default case in the switch case statement.
D)
The compiler will report case i and case j as errors since variables cannot be used in cases.

Correct Answer :  

Advertisement