Vidyalelo
Python · Q35

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 35

Q35

What is the result of (10 >> 1) & 3 ?

A.
1
Answer
B.
3
C.
2
D.
0

Answer: Option A

Solution

Answer: Option A
Solution:
The >> and & operators are evaluated from left to right.