MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include <stdio.h> void main() { int k = 0; int L = 0; for (k = 0; k < 4; k++) { for (L = 0; L < 3; L++) { if (k > 1) continue; printf("Interview Mania n"); } } } |
| A. | Compilation Error |
| B. | "Interview Mania" is printed 6 times |
| C. | "Interview Mania" is printed 5 times |
| D. | "Interview Mania" is printed 4 times |
| E. | None of these |
| Answer» C. "Interview Mania" is printed 5 times | |