Bitwise exclusive OR operator
We consider two variables a and b,
a = 12;
b = 10;
The binary representation of the above two variables would be:
a = 0000 1100.
b = 0000 1010.
When we apply the bitwise exclusive OR operator in the above two variables (a^b), then the result would be:
Result = 0000 1110.
Have a friend to whom you would want to share this course?