Vidyalelo
Python · Q37

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 37

Q37

What is the result of 7 ^ 7 ?

A.
0
Answer
B.
14
C.
7
D.
1

Answer: Option A

Solution

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