PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
print(0xA + 0xB + 0xC) :
A. 0xA0xB0xC
B. Error
C. 0x22
D. 33
Show Answer
Next Question
Correct Answer:
D
Explanation: 0xA and 0xB and 0xC are hexadecimal integer literals representing the decimal values 10,11 and 12 respectively. There sum is 33.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap