ne
What is the output of following program?
#include<stdio.h>
void main()
{
int a = 2;
switch (a
{
case 4: printf("A");
break;
case 3: printf ("B");
default : printf("C");
case 1 : printf ("D');
break;
case 5 : printf ("E");
}
}
Answers
Answered by
2
A. 20
B. 24
C. 25
D. 30
E. None of these
Answer: Option C
Similar questions