对! 前两个容易, 最后一个有点绕, 我解释一下, 给别的网友看看。

来源: 2024-11-08 20:44:03 [旧帖] [给我悄悄话] 本文已被阅读:

The XOR logic operation returns true if either of its inputs differ and false if they are all the same.

As the two inputs  are the same, the operation returns false, which is 0, and negating 0 would be 1。