Vidyalelo
Python · Q23

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 23

Q23

What is the result of `(8 >> 2) | (1 << 2)` ?

A.
10
Answer
B.
5
C.
9
D.
4

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board