Vidyalelo
Computer Science · Q501

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 501

Q501

The exclusive OR operator gives the result 1 when

A.
both the bits are 0
B.
one bit is 0 and the other is 1
Answer
C.
both the bits are 1
D.
no hard and fast rule
E.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board