[英]What does the '=|' operator do?
I googled but it doesn't return the results related to expression. 我用谷歌搜索,但没有返回与表达式相关的结果。 I am guessing it has something to do with bits.
我猜它与位有关。 What exactly does
=|
到底是什么
=|
do? 做?
Look at this 看这个
http://www.tutorialspoint.com/cprogramming/c_operators.htm http://www.tutorialspoint.com/cprogramming/c_operators.htm
So 所以
| inclusive bitwise OR
= assignment
|= bitwise inclusive OR and assignment
=| syntax error
As for |= 至于| =
a |= b;
equals to 等于
a = a | b;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.