Vidyalelo
Python · Q57

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 57

Q57

What is the result of 12 >> 2 ?

A.
3
Answer
B.
6
C.
12
D.
48

Answer: Option A

Solution

Answer: Option A
Solution:
The >> operator performs right shift, shifting the bits to the right.