Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2012
Questions

Q3

MCQ1 mark, −0.33ProgrammingEasy

What will be the output of the following C program segment?

char inChar = 'A';
switch ( inChar ) {
    case 'A' : printf ("Choice A \ n");
    case 'B' :
    case 'C' : printf ("Choice B");
    case 'D' :
    case 'E' :
    default : printf ("No Choice");
}
Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.