Vidyalelo
C Programming · Q245

Pointer

Programming · C Programming · question 245

Q245

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.
Run time error

Answer: Option A

Solution

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