in Programming in C
3,980 views
4 votes
4 votes

What is the output of this C  code?

#include<stdio.h>
void main()
{
    int k=5;
    int *p=&k;
    int **m=&p;
    printf("%d %d %d",k,*p,**m);
    
}
  1. 5 5 5 
  2. 5 5 junk
  3. 5 junk junk
  4. compile time error
in Programming in C
by
4.0k views

4 Answers

13 votes
13 votes
Best answer

correct answer is A :- 5 5 5

selected by
4 votes
4 votes
correct answer is A)5 5 5 (basic programming concepts)
2 votes
2 votes

hope it might help...........

0 votes
0 votes
5,5,5

2 Comments

plz check comma is not present there..output  must be 5 5 5
0
0
yes comma will not be there
0
0
Answer:

Related questions