Quantcast
Channel: C
Viewing all articles
Browse latest Browse all 46

InFix to PostFix and PostFix expression evaluation.

$
0
0
InFix to PostFix

Introduction



Infix Expression :

Notation in which the operator separates its operands. Eg (a + b) * c. Infix notation requires the use of brackets to specify the order of evaluation.

Postfix Expression :

Reverse Polish Notation or Suffix Notation Notation in which the operator follows its operands. Eg a + b * c represented as abc*+.

Infix to Postfix Conversion Algo :

  1. Scan the Infix string from left...

InFix to PostFix and PostFix expression evaluation.

Viewing all articles
Browse latest Browse all 46

Trending Articles