摘要: #include <stdio.h> int main() { union{ short s; char c[sizeof(short)]; }un; un.s = 0x0102; if (sizeof(short) == 2) { if (un.c[0] == 1 && un.c[1] == 2) 阅读全文
posted @ 2019-11-17 15:36 zzyoucan 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 来自:https://blog.csdn.net/qq_32998153/article/details/79680704 阅读全文
posted @ 2019-11-17 15:33 zzyoucan 阅读(220) 评论(0) 推荐(0) 编辑