What is the output of this C code? #include <stdio.h> void main() { int k=5;…
ISRO Scientist/Engineer SC 2016
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\n", k, *p, **m);
}- A.
5 5 5
- B.
5 5 junk
- C.
5 junk junk
- D.
Compile time error
Attempted by 1216 students.
Sign up free to check your answer
Sign up freeLoading lesson…

