What will be the output of the following C code?
#include <stdio.h>
int main()
{
char *a[2] = {"hello", "hi"};
printf("%s", *(a + 1));
return 0;
}
#include <stdio.h>
int main()
{
char *a[2] = {"hello", "hi"};
printf("%s", *(a + 1));
return 0;
}
A. hello
B. ello
C. hi
D. ello hi
Answer: Option C
Join The Discussion