MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following program fragment: switch(input) { case '1': printf("one"); case '3': printf("three"); case '5': printf("five"); default: printf("odd"); break; } What will be printed when input is '3'? |
| A. | three five odd |
| B. | three |
| C. | three odd |
| D. | three three odd |
| Answer» B. three | |