Open In App

Algorithms Quiz | SP Contest 3 | Question 1

What will be the equivalent postfix expression of the given infix expression:

Infix Expression: a+b*(c/d-e/f)/(g^h)-i 

(A) abcd / ef / – * gh ^ / + i –
(B) abcd / ef / – * gh ^ / + – i
(C) abcd / ef / – * gh / ^ + i –
(D) abcd / ef / – * gh ^ / – + i

Answer: (A)
Explanation: https://www.geeksforgeeks.org/stack-set-2-infix-to-postfix/
Quiz of this Question

Article Tags :