Bitwise Logical Operators

There are three bitwise logical operators as we already know. They are:
bitwise AND (&)
bitwise OR (|)
bitwise exclusive OR (^)
These operators are known as binary operators. They can operate on two operands of type integer. The operators work on these integers bit by bit bit

starting from the rightmost (the least significant).
Bitwise operators have a lower precedence than relational operators.

No comments:

Post a Comment