What will be the output of the following C code?
#include <stdio.h>
void main()
{
char *a[3] = {"hello", "this"};
printf("%s", a[1]);
}
#include <stdio.h>
void main()
{
char *a[3] = {"hello", "this"};
printf("%s", a[1]);
}A. hello
B. Varies
C. this
D. Compile time error
Answer: Option C

Join The Discussion