Q50
What is the result of 9 ^ (5 & 3) ?
A.
8
B.
7
C.
1
AnswerD.
2
Answer: Option C
Solution
Answer: Option C
Solution:
The ^ and & operators are evaluated from left to right.
Python MCQs: Bitwise and Boolean Operations Chapter
Programming · Python · question 50
Q50
Answer: Option C