C语言中signed与unsigned的转换

谭浩强的书里面讲过一句,
int a, b, c;
unsigned int d, e;
a=7;
b=-8;
c=a+b;
d=a+b;
e=(unsigned int)b;
最后的结果是:
c=-1;
d=4294967295; (-1的补码当成无符号数去读)
【C语言中signed与unsigned的转换】e=4284967288; (-8的补码当成无符号数去读)

    推荐阅读