Examveda
Examveda

What is the result of 5 << 2 >> 1 ?

A. 5

B. 10

C. 20

D. 2

Answer: Option B

Solution(By Examveda Team)

The << and >> operators are evaluated from left to right.

This Question Belongs to Python Program >> Bitwise And Boolean

Join The Discussion

Related Questions on Bitwise and Boolean