What would be the output of the following?
main() { int i=4; switch(i) { default: printf(“A”); case 1: printf(“B”); break; case 2: printf(“C”); break; case 3: printf(“D”); break; } }
Reveal answer
Fill a bubble to check yourself
What would be the output of the following?
main() { int i=4; switch(i) { default: printf(“A”); case 1: printf(“B”); break; case 2: printf(“C”); break; case 3: printf(“D”); break; } }