1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int n = 1;
switch (n)
{
case n:
printf("Case N ");
default:
printf("Default");
}
}

A. Compilation Error
B. Case N
C. Default
D. All of above
E. None of these
Answer» B. Case N


Discussion

No Comment Found

Related MCQs