To convert prefix to postfix –
- Read input from right to left
- If(operand) push onto stack
- If (operator) pop operand 2, pop operand 1
- Write expression in this order operand 1 operand 2 operator
- Push above expression onto the stack.
- Repeat the above steps until end of prefix expression.