Q.

abc*+de*f+g*+ where a=1, b=2, c=3, d=4, e=5, f=6, g=2.

A. 61
B. 59
C. 60
D. 55
Answer» B. 59
Explanation: the infix expression is a+b*c+ (d*e+f)*g. evaluating it, 1+2*3+(4*5+6)*2 gives 59.
1.6k
0
Do you find this helpful?
6

Discussion

No comments yet