Programming and Problem Solving through Python : Functions in Python

print(0xA + 0xB + 0xC) , print(0xA + 0xB + 0xC)

print(0xA + 0xB + 0xC)




Solution
D. 33



Explanation
0xA and 0xB and 0xC are hexadecimal integer literals representing the decimal values 10, 11 and 12 respectively. There sum is 33.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad