int main(void)
{
unsigned int y = 10;
int x = – 4;
if (x > y)
Printf("x is greater");
else
Printf("y is greater");
getch();
return (0);
}
Output: x is greater
我原以为输出结果会是y更大,因为它是无符号的,那么这背后的原因是什么呢?