1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int n = 98;
switch (n)
{
case 'b':
printf("Right... ");
break;
case 98:
printf("Wrong... n");
break;
}
}

A. Character case value error
B. Right...
C. Wrong...
D. Duplicate case value error
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs