What is the value of a if the following expression is True
a>>2 == 2
6
7
8
5
The value of a will be 8.
When the value of a is equal to 8 (1000), then a>>2 (bitwise right shift) yields the value 0010, which is equal to 2.
Comment here: