Hi,I am new to daniweb and would like to know the error in this code
void initpoly(struct poly *p)
{
int i;
p->noofterms=0;
for(i=0;i<MAX;i++)
{
p->t[i].coeff=0;
p->t[i].exp=0;
}
}
I am not posting the entire program because it is lengthy.I am getting the error"Expected primary expression before token ;" in the for loop..
Any help would be greatly appreciated..I am using dev c++ as compiler.