0
What will be the output of the following code?
#include <stdio.h>
int main() {
int a = 2, b = 3;
switch (a) {
case 1:
printf("Case 1");
break;
case 2:
switch (b) {
case 3:
printf("Case 3");
break;
default:
printf("Inner Default");
}
default:
printf("Outer Default");
}
return 0;
}- ACase 3Inner Default
- BCase 3
- CInner DefaultOuter Default
- DCase 3Outer Default
Correct answer: D