#include <stdio.h>
int main()
{
unsigned char a = 127;
char b = a+1;
short c = a+1;
long d = a+1;
double e = a+1;
printf("0x%x, 0x%x, 0x%x, 0x%x\n", b, c, d, e);
return 0;
}
0xffffff80, 0x80, 0x80, 0x0
http://blog.chinaunix.net/u3/115241/showart.php?id=2271003
阅读(1225) | 评论(0) | 转发(0) |