与
0&&0 =0
1&&0 =0
0&&1 =0
1&&1 =1
或
0||0 =0
1||0 =1
0||1 =1
1||1 =1
非
~1 =0
~0 =1
1100和1000按位与运算结果是 1000
转载于:https://www.cnblogs.com/wangpei/archive/2008/11/14/1333513.html
转载于:https://www.cnblogs.com/wangpei/archive/2008/11/14/1333513.html