🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

नीचे दिए गए कोड का आउटपुट क्या है?

What is the output of below code?

print(3-2*2*3+99/11) 
A)
B)
C)
D)

Explanation:

The expression is:

print(3 - 2 * 2 * 3 + 99 / 11)

Step 1: Follow the order of operations (PEMDAS/BODMAS).

  • Parentheses
  • Exponents
  • Multiplication and Division (from left to right)
  • Addition and Subtraction (from left to right)

Step 2: Break down the expression.

  1. First, handle the multiplication and division.

    • 2 * 2 = 4
    • 4 * 3 = 12
    • 99 / 11 = 9

    Now the expression becomes:

    3 - 12 + 9
  2. Now, perform the addition and subtraction from left to right:

    • 3 - 12 = -9
    • -9 + 9 = 0

Final result: 0

Latest Updates