位运算

按位与运算符(&)

有0为0

按位或运算符(|)

有1为1

异或运算符(^)

同0异1

共同学习,共同进步,若有补充,欢迎指出,谢谢!

原文地址:https://www.cnblogs.com/dengguangxue/p/12215081.html