标签:style class blog code color amp
大字节序(Big Endian):低地址存高位
int main() { int x=1; char *temp = NULL; temp= (char *)&x; if (*temp ==1) { printf("Little endian!\n"); } else { printf("Big endian!\n"); return 0; } }
标签:style class blog code color amp
原文地址:http://www.cnblogs.com/wanghaoran/p/3800100.html