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 15

a. Choice B
b. Choice E
c. No Choice

ANSWER: Choice B

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)