How to reverse bitwise AND (&) in C?
For example I have an operation in C like this:
((unsigned int)ptr & 0xff000000))
The
You can only reverse XOR, as it's non-destructive.
Both OR and AND are destructive.