Possible Duplicate:
How to reverse bitwise AND (&) in C?
If I am using bitwise AND
7758194 & 255 = 114
how could I get back 7758194
, given the result 114
?
Possible Duplicate:
How to reverse bitwise AND (&) in C?
If I am using bitwise AND
7758194 & 255 = 114
how could I get back 7758194
, given the result 114
?
The & operator, bitwise or not, is simply not reversible.
0 & 1 => 0
0 & 0 => 0
1 & 0 => 0
So you can't.