Using STACK we evaluate Postfix expression by scanning symbols from left to right. Operand symbols PUSHED to the STACK and POP 2 top elements and perform calculation and PUSH result to the STACK in case of operators. Start scanning right to left in case of Prefix expression.
#PostfixEvaluation
#PrefixEvaluation
#UsingSTACK