← Back to Question List
C Quiz #45
Switch Statement Fall-Through
What does this code print?
📄 Code
1int n = 2;2switch (n) {3 case 1: printf("A");4 case 2: printf("B");5 case 3: printf("C"); break;6 default: printf("D");7}