Bitwise Operation

From Rice Wiki

A bitwise operation is an operation that is done on a series of bits. There are many bitwise operators, most of them being pretty self explanatory. I'll note down anything that seems interesting to me.

Exclusive or (XOR) operator can be used to flip singular bits, since against 1, XOR flips a bit, whereas against 0, XOR does nothing.