C language bitwise operators!

 Long time no see the c language, unexamined spent the last semester freshman (also next semester) (error)

Bitwise operators always understand, (know this symbol, but do not understand this is what's role), today looking at two selected time saw.

Bitwise Operators meaning   For example
& Bitwise AND a&b
|    Bitwise or a|b
^    Bitwise XOR a^b
~   Bitwise ~a
<< The left a<<1
>> Right a>>1

c have substantially the six language bitwise operators

The following are some of the contents of the book:

 

Guess you like

Origin www.cnblogs.com/mutangchun/p/11256410.html