How to reverse bitwise AND (&) in C?
For example I have an operation in C like this:
((unsigned int)ptr & 0xff000000))
The
Impossible. Bitwise & of 0xff000000 is a lossy operation. You lose the lower 24-bits permanently.