main()
{
unsigned x=1;
signed char y=-1;
if(x>y)
printf("x>y");
else
printf("x<=y");
}
output is: x<=y
But my question is in the statement unsigned x=1; there is no data type such as int or char. So what will the compiler assume? And in the statement signed char y=-1; Isn't it a error? and i also want to know how the program works.