#include
int main()
{
union abc
{
char a[4];
int b;
}test;
test.b = 0x12345678;
printf("%x %x %x %xn", test.a[0],test.a[1],test.a[2],test.a[3]);
return 0;
}
//小尾端的结果为: 78 56 34 12
//大尾端的结果为: 12 34 56 78
最后
以上就是柔弱长颈鹿最近收集整理的关于蛋疼的 大尾端小尾端的全部内容,更多相关蛋疼的内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复