Module 2 (Array Polynomial, Stack)
Module 2 (Array Polynomial, Stack)
101009/IT200C (Module 2)
S2 CU
Mr. Tinku Soman Jacob
Asst. Prof IT
RSET
• Array of structures
struct poly
{
int coeff;
int exp;
}term[max_term];
p++; {
2 5 1 1 10 3 1 2 1 15 3 2
1000 3 0 4 3 2 0 1000 4 3 2 0
• Pop