Could someone please give me an example of when and why we would use bitwise operators. I'm trying to build a detailed understanding as to what and why we use such things.
One example I know of is the << left shift being used for the power of.
What else would it be used for?
Looking at the & I can predict and produce the expected results as per the tutorial but why would we need to do such an operation.
Many thanks