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

अभिव्यक्ति 3*1**3 का आउटपुट क्या है?

What is the output of the expression : 3*1**3 ?

A
27
B
9
C
3
D
1
Explanation

Let's break down the expression:

3 * 1 ** 3

Step-by-Step Explanation:

  1. Operator Precedence:

    • The ** operator (exponentiation) has higher precedence than multiplication (*).
    • So, the expression is evaluated as: 3 * (1 ** 3).
  2. Evaluate 1 ** 3:

  3.  

    • 1 ** 3 means 1 raised to the power of 3, which is 1.
  4. Evaluate the final multiplication:

    • Now the expression becomes 3 * 1, which equals 3.

Answer:

(C) 3

  • पायथन में घातांक (Exponentiation **) की प्राथमिकता गुणा (*) से अधिक होती है।

  • गणना: $3 * (1 ** 3) \rightarrow 3 * 1 = 3$

Correct Answer: C) 3

Latest Updates