简单的位运算

5 & 17

00101 &
10001

10100


与运算: 都为1则为1
或 :有1则为1
亦或: 相同得0,不相同得1

原文地址:https://www.cnblogs.com/leigepython/p/12378604.html