Q3
What is the result of 10 ^ 6 ?
A.
16
B.
12
AnswerC.
4
D.
14
Answer: Option B
Solution
Answer: Option B
Solution:
The ^ operator performs bitwise XOR on the binary representations of the numbers.
Python MCQs: Bitwise and Boolean Operations Chapter
Programming · Python · question 3
Q3
Answer: Option B