摘要: 源自CSDN论坛,自己总结了下问题及答案:http://topic.csdn.net/u/20090909/23/70292691-3cbf-45fa-9b13-c5e6d290400f.html[code=C/C++][/code]#include<stdio.h>int main(){ unsigned int a = 0xfffffff7; unsigned char i = (unsigned char)a; char *b = (char *)&a; printf("%08x,%08x",i,*b);}输出是000000f7和fffffff7; 阅读全文
posted @ 2012-04-30 22:59 zzuxiaolei 阅读(705) 评论(0) 推荐(0) 编辑