#include <stdio.h>
int main ()
{
unsigned int a = 0x1234;
unsigned char b = *(unsigned char*)&a;
return 0;
}
在32为位大端模式处理器上b等于? 强制转化成unsigned char*类型后只访问一个字节
#include <stdio.h>
int main ()
{
unsigned int a = 0x1234;
unsigned char b = *(unsigned char*)&a;
return 0;
}
在32为位大端模式处理器上b等于? 强制转化成unsigned char*类型后只访问一个字节