Data Structure Unit-2
Data Structure Unit-2
• Example:
2 ↑ 3 + 5 * 2 ↑ 2 – 12 / 6
Arithmetic Expressions: Notations
• Types of notations depends upon the position of
operators and operands as mentioned below:
– Infix Notation
• Operator symbol is placed between two operands
(A+B)*C