2017年4月1日

笔试题的各种trick

摘要: %x 默认去掉前导零 #include<stdint.h> #include<stdio.h> union X { int32_t a; struct { int16_t b; int16_t c; }; }; int main(){ X x; x.a=0x20150810; printf("%x, 阅读全文

posted @ 2017-04-01 17:11 暴力的轮胎 阅读(441) 评论(0) 推荐(0) 编辑

导航