摘要: 1 #include 2 3 union 4 { 5 short s; 6 char c[sizeof(short)]; 7 }un; 8 9 int main(int argc, char *argv[]) 10 { 11 un.s = 0x0102; 12 13 if(sizeof(short) == 2) 14 { ... 阅读全文
posted @ 2016-07-13 22:29 Ricardo 阅读(538) 评论(0) 推荐(0) 编辑