Vidyalelo
C Programming · Q134

Pointer

Programming · C Programming · question 134

Q134

What will be the output of the following C code? #include void main() int k = 5; int *p = &k; int **m = &p; printf("%d%d%d ", k, *p, **m);

A.
5 5 5
Answer
B.
5 5 junk value
C.
5 junk junk
D.
Compile time error

Answer: Option A

Solution

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