Vidyalelo
C Programming · Q192

Pointer

Programming · C Programming · question 192

Q192

What will be the output of the following C code? #include int main() char *a[2] = "hello", "hi"; printf("%s", *(a + 1)); return 0;

A.
hello
B.
ello
C.
hi
Answer
D.
ello hi

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board