1.

State The Rules To Be Followed During Infix To Postfix Conversions?

Answer»
  • Fully PARENTHESIZE the expression STARTING from left to RIGHT. During parenthesizing, the operators having higher precedence are first parenthesized.
  • Move the operators one by one to their right, such that each operator replaces their corresponding right parenthesis.
  • The part of the expression, which has been converted into postfix is to be treated as single operand.
  • Once the expression is converted into postfix form, remove all parenthesis.



Discussion

No Comment Found