Open In App

ISRO | ISRO CS 2016 | Question 17

Like Article
Like
Save
Share
Report

What is the output of this 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
(B) 5 5 junk
(C) 5 junk junk
(D) Compile time error


Answer: (A)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 22 Mar, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads