MCQ Buddy
Search here...
  • Home
  • MCQ Feed
  • Add Question
  • Programming Portal
  • English Portal
  • Login
  1. Home
  2. Engineering
  3. Problem Solving and Python Programming
  4. Question

M

Mr. Dubey • 100.69K Points
Coach

Q. What will be the output of the following
Python code?
print(0xA + 0xB + 0xC)

  • (A) 0xa0xb0xc
  • (B) error
  • (C) 0x22
  • (D) 33
  • Correct Answer - Option(D)
  • Views: 891
  • Filed under category Problem Solving and Python Programming
Share

Explanation by: Mr. Dubey
0xa and 0xb and 0xc are hexadecimal integer literals representing the decimal values 10, 11 and 12 respectively. there sum is 33.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. Which of the following elements of scientific management was given by Taylor ?

Q. Which two routing protocols can be redistributed into OSPF by a Cisco router?

Q. occurs when the same clock signal arrives at different times at different clock inputs due to propagation delay

Q. CASE stands for

Q. address space gives the PCI its plug and plays capability.

Q. Full form of GDP.

Q. One of the most widely used schemes of encoding used is

Q. How many edges does a n vertex triangle free graph contains?

Q. What is the first octet range for a class A IP address?

Q. Each node of the tree has an_________________ , that is, the cost of the partial tour.


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • UC Quiz
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy
  • Get the source code

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger