in DS recategorized by
698 views
0 votes
0 votes
in DS recategorized by
698 views

1 Answer

0 votes
0 votes

 

To convert prefix to postfix –

  1. Read input from right to left
  2. If(operand) push onto stack
  3. If (operator) pop operand 2, pop operand 1
  4. Write expression in this order operand 1 operand 2 operator 
  5. Push above expression onto the stack.
  6. Repeat the above steps until end of prefix expression.


 

by

Related questions