The output of the following code segment will be
char x = ‘B’;
switch (x) {
case ‘A’: printf(“a”);
case ‘B’: printf(“b”);
case ‘C’: printf(“c”);
}
(A) B
(B) b
(C) BC
(D) bc
Correct option -**(D) bc**
Explanation:-
Since there is no break statement, all the statement after case’B’ are ****.