Bitwise Operators

Bitwise operators perform manipulations of data at bit level.
These operators also perform shifting of bits from right to left.
Bitwise operators are not applied to float or double.

Operator Description
& Bitwise AND
| Bitwise OR
^ Bitwise exclusive OR
<< Left shift
>> Right shift

The Bitwise shift operators shifts the bit value. The left operand specifies the value to be shifted and the right operand specifies the number of positions that the bits in the value are to be shifted. Both operands have the same precedence.

Subscribe us on Youtube

Share This Page on

Ask Question