我的代码是: x = x & 0xffff x << 8 我不知道是否0xFFFF的是偏移地址或十六进制数。
x = x & 0xffff x << 8
int number_of_apples = 0x13; /* 19 apples */ short int number_of_fields_on_checker_board = 0100; /* octal number for 64 */ void* pointer_to_nowhere = 546233512; /* points to the address 546233512 */