返回首页

我的代码是:

x = x & 0xffff

x << 8

我不知道是否0xFFFF的是偏移地址或十六进制数。

回答

评论会员:Stefan_Lang 时间:2012/02/05
前缀'0 X'表示十六进制数。无论它是指一个地址或任何其他数量完全取决于你的代码,因为它是唯一的表示方式。

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 */

评论会员:游客 时间:2012/02/05
Prera​​k帕特尔
这只是一个十六进制值(65535)
评论会员:阿伦Parthasarathy 时间:2012/02/05
胶版用来避免重复
Innbsp; 你的情况,以避免重复。地址,每个x值HEXA DECIMAL值是'和'编

,以便有没有重复的机会,但我想Ÿ这么大的六面您使用:。|