Q. What is the output of C Program with switch statement or block?
Code:
int main()
{
static int a=5;
switch(a)
{
case 0: printf("ZERO ");break;
case 5: printf("FIVE ");break;
case 10: printf("DEER ");
}
printf("LION");
}
β
Correct Answer: (C)
FIVE LION