Vidyalelo
Python · Q46

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 46

Q46

What is the result of 5 ^ 5 ?

A.
0
Answer
B.
10
C.
5
D.
1

Answer: Option A

Solution

Answer: Option A
Solution:
The XOR operation with the same number results in 0.