Vidyalelo
C Programming · Q163

Pointer

Programming · C Programming · question 163

Q163

What will be the output of the following C code? #include void main() char a[10][5] = "hi", "hello", "fellows"; printf("%p ", a); printf("%p", a[0]);

A.
same address is printed
Answer
B.
different address is printed
C.
hello
D.
hi hello fello

Answer: Option A

Solution

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