2
我使用Google搜索,但它沒有返回與表達式相關的結果。我猜測它與位有關。 =|
究竟做了什麼?'= |'是什麼意思運營商呢?
我使用Google搜索,但它沒有返回與表達式相關的結果。我猜測它與位有關。 =|
究竟做了什麼?'= |'是什麼意思運營商呢?
看這個
http://www.tutorialspoint.com/cprogramming/c_operators.htm
所以
| inclusive bitwise OR
= assignment
|= bitwise inclusive OR and assignment
=| syntax error
至於| =
a |= b;
等於
a = a | b;
它是'| ='還是'= |'? – Rohan
確實'= |'很難谷歌,所以作爲一個暗示谷歌的「C運營商」。 – alk
| =是按位包含的OR和賦值運算符,「a | = b」等於「a = a | b」; = |沒有任何意義 –