Here is an infix notation: ((A+B)*C-(D-E))^(F+G) Choose the correct postfix notation of the above from the given options ?

Answer : B. AB+C*DE–FG+^

Here is an infix notation: ((A+B)*C-(D-E))^(F+G)
Choose the correct postfix notation of the above from the given options ?

A. AB+CD*E–FG+^

B. AB+C*DE–FG+^

C. AB+C*DE-FG-+^

D. A+BC*DE-FG-+^

Answer : B. AB+C*DE–FG+^

Explanation :

Postfix notation is a notation for writing arithmetic expressions in which the operands appear before their operators.

Leave a Reply

Your email address will not be published.