21. What is the value of the postfix expression 6 3 2 4 + – *?

a) 1
b) 40
c) 74
d) -18

Answer: d
Explanation: Postfix Expression is (6*(3-(2+4))) which results -18 as output.

Leave a Reply

Your email address will not be published.