关于指针的程序解释
bool IsBig_Endian()//如果字节序为big-endian,返回true;//反之为 little-endian,返回false{
unsigned short test = 0x1122;
if(*( (unsigned char*) &test ) == 0x11)
return TRUE;
else
return FALSE;
}//IsBig_Endian()
想问一下程序中 (unsigned char*) &test表示什么?是建一个usigned char的指针类型,然后指向test首地址么?