Q37
What is the result of 7 ^ 7 ?
A.
0
AnswerB.
14
C.
7
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 37
Q37
Answer: Option A