C output type question

Q.  Trace the output.

int main()
{
   int i = 5;
   int *j;
   int **k;
   j=&i;
   k=&j;
   printf("%u %u %d ",k,*k,**k);
   return 0;
}

- Published on 23 Jun 15

a. some address, some address, 5
b. some address, 5, 5
c. 5 , 5 , 5
d. None of the above.

ANSWER: some address, some address, 5

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)