Q31
What is the result of 3 + 2 * 4 ** 2 ?
A.
19
B.
29
AnswerC.
35
D.
59
Answer: Option B
Solution
Answer: Option B
Solution:
Exponentiation has higher precedence, so 4 ** 2 is evaluated first, then multiplication and addition follow.