Vidyalelo
C Programming · Q160

Pointer

Programming · C Programming · question 160

Q160

What will be the output of the following C code? #include void main() int a[3] = 1, 2, 3; int *p = a; int **r = &p; printf("%p %p", *r, a);

A.
Different address is printed
B.
1 2
C.
Same address is printed
Answer
D.
1 1

Answer: Option C

Solution

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