The bitwise XOR of any integer with itself is always zero.
Answer: A
Correct answer: True
XOR yields 1 only where the two operands differ, and a value never differs from itself, so every bit of the result is 0. This identity is what lets XOR be used to detect a change and to cancel a value out of a running total.
Please log in or register to report this question.