1011 का आउटपुट क्या होगा?
What will be the output of: 1011 ?
A
13
B
12
C
Error
D
None
Explanation
The expression 1011 by itself (without any prefix or context) in Python is simply treated as a decimal integer.
print(1011)
Python इसे एक decimal number मानेगा — यानी:
➡ 1011 (base 10) = 1011
लेकिन अगर आप यह पूछ रहे हैं कि binary 1011 का decimal में क्या मान होगा, तो:
0b1011 → Binary literal
Then:
Correct Answer: D) None