Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2016 | Question 17
  • Difficulty Level : Basic
  • Last Updated : 22 Mar, 2018

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

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :