Vidyalelo
C Programming · Q76

Pointer

Programming · C Programming · question 76

Q76

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

A.
Same address is printed
Answer
B.
Different address is printed
C.
Compile time error
D.
Nothing

Answer: Option A

Solution

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