Vidyalelo
C Programming · Q107

Pointer

Programming · C Programming · question 107

Q107

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, **p);

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

Answer: Option D

Solution

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