

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