18

不定项选择题 18 /23

unsigned short hash(unsigned short key)
{
    return (key >> 4) % 256
}
请问hash(16), hash(256)的值分别是:

参考答案

1,16
8,32
4,16
1,32