Q46
What is the result of 5 ^ 5 ?
A.
0
AnswerB.
10
C.
5
D.
1
Answer: Option A
Solution
Answer: Option A
Solution:
The XOR operation with the same number results in 0.
Python MCQs: Bitwise and Boolean Operations Chapter
Programming · Python · question 46
Q46
Answer: Option A