1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
char *ch[20] = {"Welcome", "to", "Interview mania"};
int n = 0;
for (n = 0; n < 20; n++)
printf("%s", *(ch[n]));
}

A. Welcome to Interview mania
B. Compilation Error
C. Garbage value
D. Segmentation fault
E. None of these
Answer» E. None of these


Discussion

No Comment Found