34,333
edits
Changes
→Bitwise XOR
== Bitwise XOR ==
The bitwise XOR (commonly referred to as ''exclusive OR'' and represent by the caret '^' character) performs a similar task to the OR operation except that a 1 is placed in the result if one or other corresponding bit positions in the two numbers is 1. If both positions are a 1 or a 0 then the corresponding bit in the result is set to a 0. For example:
<tt>10101011 AND</tt><br>