1.

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

A. Interview
B. Mania
C. World
D. Garbage value
E. Segmentation fault
Answer» F.


Discussion

No Comment Found