Bitwise Operators
Description
These bitwise operators allows you to calculate the result at the bit level of a given integer number or a character value.
Types
Bitwise AND Operator
- It is represented by '&' operator.
- To check a particular bit is ON or OFF.
- To set OFF a particular bit of a given number.
Bitwise OR Operator
- It is represented by '|' operator.
- It is represented by '|' operator.
Bitwise XOR Operator
- It is represented by '^' operator.
- To toggle the bit ON and OFF