Q3
MCQ1 mark, −0.33ProgrammingEasyWhat 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.
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.