With '&' operator, you cannot get the x value.
Suppose x=5 and y=4, then r=4
Behind the scenes it would done like so :
x= 0101
y= 0100
----&
r= 0100
And if we have x=5 and y=6, then we also get r=4
Behind the scenes it would done like so :
x= 0101
y= 0110
----&
r= 0100
You see, 5 & 4 and 5 & 6 have the same result.
So, how would you get the x value ? The answer is never. Because '&' operator does the bitwise operation, not arithmetic operation.