Consider the following program fragment:
switch (input)
{
case ‘1’: printf (“one”);
case ‘3’: printf (“three”);
case ‘4’: printf (“five”);
default: printf (“odd”); break;
}
What will be printed when input is ‘3’?
Answer & ExplanationOption: [B]