अभिव्यक्ति 3*1**3 का आउटपुट क्या है?
What is the output of the expression : 3*1**3 ?
A)
B)
C)
D)
Explanation:
Let's break down the expression:
3 * 1 ** 3
Step-by-Step Explanation:
-
Operator Precedence:
- The
**
operator (exponentiation) has higher precedence than multiplication (*
). - So, the expression is evaluated as:
3 * (1 ** 3)
.
- The
-
Evaluate
1 ** 3
:1 ** 3
means1
raised to the power of3
, which is1
.
-
Evaluate the final multiplication:
- Now the expression becomes
3 * 1
, which equals3
.
- Now the expression becomes
Answer:
(C) 3