Vidyalelo
C Programming · Q186

Pointer

Programming · C Programming · question 186

Q186

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

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

Answer: Option C

Solution

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