C output type question
Q. C programming : Trace the output
int main()
{
char c='A';
switch(c)
{
case 'A': printf("Choice B\n");
case 'C':
case 'D':
case 'E':printf("Choice E\n");
default: printf("No Choice \n");
}
return 0;
}
- Published on 22 Jun 15a. Choice B
b. Choice E
c. No Choice
ANSWER: Choice B