🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?

What will be the output of the following expression ?

x = 14
print(x>>2)
A)
B)
C)
D)

Explanation:

The operation x >> 2 shifts the bits of x (14) two places to the right.

  • 14 in binary is 1110.
  • After shifting right by 2, it becomes 0011, which is 3 in decimal.

So, the output is 3.

Answer: (C) 3

Latest Updates