DRILL 07Medium
Switch Fall-Through
What is printed when choice is 2?
drill.cC
switch (choice) {
case 1:
printf("one ");
case 2:
printf("two ");
case 3:
printf("three ");
break;
default:
printf("other ");
}What is printed when choice is 2?
switch (choice) {
case 1:
printf("one ");
case 2:
printf("two ");
case 3:
printf("three ");
break;
default:
printf("other ");
}