Here is the question as shown below and the answers comes as True.I know there is some promotion which would happen when you compare an signed and unsigned.Can you please tell me how does the signed value gets promoted?
main()
{
signed int a = -5;
unsigned int b = 2147483648;
if(a > b)
printf("True\n");
else
printf("False\n");
}
Advanced Thanks Maddy