Y
Hacker News
new
|
ask
|
show
|
jobs
by
sumnole
1329 days ago
0 is correct. AND(bit1,bit2) returns 1 if and only if both input bits are 1.
AND'ing each bit of the two numbers yields only 0 bits:
10000 &01111 ______ 00000