A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. print(0xA + 0xB + 0xC) :
a. 0xA0xB0xC
b. Error
c. 0x22
d. 33
Answer:33
Upkar :(September 19, 2019) How its 33
0xA and 0xB and 0xC are hexadecimal integer literals representing the decimal values 10,11 and 12 respectively. There sum is 33
Click to Add Comment

Raghav :(October 17, 2019) How?
Click to Add Comment

Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here