Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 如何在 C 中反转按位与 (&)?
如果我使用按位与
7758194 & 255 = 114
7758194鉴于结果,我怎么能回来114?
7758194
114
& 运算符,无论是否按位,都是不可逆的。
0 & 1 => 0 0 & 0 => 0 1 & 0 => 0
所以你不能。