The AND Operator (&)

The AND operator compares 2 bits. If they are both 1, the result is 1.

Bit 1

Bit 2

Bit 1 & Bit 2

0

0

0

0

1

0

1

0

0

1

1

1