How to convert infix to postfix using stack of data structures

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Avisek Dewan
    New Member
    • Jul 2010
    • 1

    How to convert infix to postfix using stack of data structures

    i need a c program to convert infix to postfix using stack of data structures
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    For infix, pop the struct, pop the amount to add to the struct. Add the amoun top the struct.

    For postfix, do the same except save the original pop and push the result back onto the stack. After you use the saved value, pop the stack to replace the saved value.

    Comment

    Working...