ISRO | ISRO CS 2009 | Question 31

The expression 1 * 2 ^ 3 * 4 ^ 5 * 6 will be evaluated as
(A) 3230
(B) 16230
(C) 49152
(D) 173458


Answer: (C)

Explanation: Since, the exponent has a higher order of precedence than multiplication, so the exponents will be evaluated first.

= 1 * (2 ^ 3)* (4 ^ 5) * 6
= 1 * 8 * 1024 * 6
= 49152

So, option (C) is correct.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.