I know unsigned int* and int* are not compatible. But since i,j are int* (int pointers), then how are they printed using unsigned type. And why is it giving output 0!!
#include<stdio.h>
//#include<conio.h>
main()
{
int *i,*j,**k;
//i+2;
k=&i;
printf("\n*k=%u j=%u i=%u",*k,j,i);
//getch();
}
Output:
*k=0 j=0 i=0
It is one of the questions of 295 C questions, I'm just trying to understand what is happening in this code!! I didn't write this code!