Department of
Computer Engineering
CO2407: Data
Structures
Date:
6th August, 2012
Due on: 24th
August, 2012
NOTE: For
the following problems, identify appropriate functions and attributes and
demonstrate them through appropriate Menu options; implement program for the
same in ‘C ’Programming language with proper comments. Make assumptions if
required and state them clearly.
|
1.
|
Implement expression evaluation functions, which
take an arithmetic expression as input evaluates it using polished notations.
Before evaluating an expression the function must
check for validity of expression (both parenthesis and operator/operand);
converts it to postfix form and then evaluates it.
|