1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
float n = 12;
switch (n)
{
case 1.0:
printf("Option: First n");
break;
default:
printf("Option: Default n");
}
}

A. 12
B. Option: First
C. Option: Default
D. Compilation Error
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs