

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