The & operator is a bitwise operator. Bitwise operators are basically used for working and manipulating individual bits of the numbers. It operates on both sides of the operator. Bitwise & operator is a binary operator which performs the AND operation bit by bit on its operands. The following code demonstrates the use of & operator.