+ 3
What is the XOR(^) opreator in CPP and what is its use?
opreators
6 Respuestas
+ 5
XOR Operator Truth Table
True True => False
True False => True
False True => True
False False => False
Hope this helps ☺️☺️.
+ 2
Thanks Ben allen.... That helped....
but then again manas pandey asked a very good question....... Its because of him I learning this...
+ 1
It's exclusive OR. A normal OR will return true if one or both statements are true. XOR returns true if and only if ONE statement is true. If both are true it will return false.
0
Oh I see!!!
That was a typo mistake ☺️☺️.
- 1
MEET MEHTA That's incorrect.