Vidyalelo
Python · Q26

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 26

Q26

What will be the output of the following Python code snippet if x=1? x<<2

A.
8
B.
1
C.
2
D.
4
Answer

Answer: Option D

Solution

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