i got a segmentation fault error while calling this function
pterm *readterm() { pterm *node; int exp; int coeff; printf("\\nEnter exponent:&