2007年5月28日星期一

感觉怪异

union u_type
{ int i;
char ch;
float a;
}temp;
main()
{ int i;
temp.i=266;
printf("%d",temp.ch);
}
为什么会输出10呢?266又指什么呢?
知识博大精深啊

没有评论:

time