I created a function to compare string value with spaces
It gives me error: warning: passing arg 1 of `strcmp' from incompatible pointer type and
passing arg 2 of `strcmp' makes pointer from integer without a cast
char *operand(node *pt)
{
while(strcmp(pt->next, ' ')!=0)
{
strcpy(operand, pt->item);
operand(pt->next);
}
}
One of my friend tell me to replace ' ', with " ". But it doesn't work too...