1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
char **ptr = {"Welcome", "to", "Interview Mania"};
printf("%s", (ptr)[0]);
return 0;
}

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


Discussion

No Comment Found