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