-
Notifications
You must be signed in to change notification settings - Fork 0
XOR
hpgDesigns edited this page Aug 8, 2021
·
1 revision
The XOR operator, or Exclusive or operator, is like OR, but it excludes the case where both are true. In other words, the exclusive or is true if one input is true, or the other input is true, but not both.
| A | B | A xor B |
|---|---|---|
| false | false | false |
| false | true | true |
| true | false | true |
| true | true | false |
This is number 1