Skip to content
Related Articles

Related Articles

Improve Article

Algorithms Quiz | SP Contest 3 | Question 1

  • Last Updated : 25 Jul, 2018

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :