Home Modern Forums ISRO

What is the output of this C code?

#includevoid main(){int k=5;int *p=&k;int **m=&p;printf("%d %d %d",k,*p,**m);}

(A) 5 5 5
(B) 5 5 junk
(C) 5 junk junk
(D) Compile time error

Reply To:

What is the output of this C code?

#includevoid main(){int k=5;int *p=&k;int **m=&p;printf("%d %d %d",k,*p,**m);}

(A) 5 5 5
(B) 5 5 junk
(C) 5 junk junk
(D) Compile time error

Up
0
Down
::

nan