Xor Logical Operator Question
Hi,
On page 139 of the book it talks about Logical Operators.
In the definition of Xor (^) it states that "It returns true if one of its operands is true and the other is false".
It doesnt explain how Xor returns false though.
Logically speaking, if both operands are true or both operands are false, does that return a false Xor??
Also, with OR and XOR, are you limited to only two operands for comparison? I would assume with AND you could have more than two.
__________________
"These pretzels are making me thirsty"
Last edited by MinusZero; October 25th, 2012 at 10:35 PM..
Reason: Added another question
|