

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> void main() { char *ch[7] = {"Welcome", "To", "Interview", "Mania"}; int k = 0; for (k = 0; k < 7; k++) printf("%s ", ch[k]); } |
A. | Welcome To Interview Mania |
B. | (null) (null) (null) |
C. | Welcome To Interview Mania (null) (null) (null) |
D. | Compilation Error |
E. | None of these |
Answer» D. Compilation Error | |