

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