i have this line of code and want to compare the word from the linked list with the one supplied by user.
the code is:
if (strcmp(p->word,word)==0)
and i am having this error:
passing `char' to argument 2 of `strcmp(const char *, const char *)' lacks a cast