What is the output of the following C Code?


What is the output of the following 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

Comments