Skip to content
Related Articles
Open in App
Not now

Related Articles

ISRO | ISRO CS 2016 | Question 17

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 22 Mar, 2018
Improve Article
Save Article

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

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!