Explain what is a postfix expression?

Category: Data StructureExplain what is a postfix expression?
1 Answers
Editor">Editor Staff answered 2 years ago

An expression in which operators follow the operands is known as postfix expression. The main benefit of this form is that there is no need to group sub-expressions in parentheses or to consider operator precedence.
The expression “a + b” will be represented as “ab+” in postfix notation.