Vidyalelo
C Programming · Q89

Pointer

Programming · C Programming · question 89

Q89

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("%d", (**r));

A.
1
B.
Compile time error
Answer
C.
Address of a
D.
Junk value

Answer: Option B

Solution

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