I can't figure out this compiler error
I have defined a linked list as follows:
and I tried using this code to add a new word to the linked list:
struct node *next;
typedef struct node NODE;
but I get a complier error saying that in line 65 I do not have compatible types.
void push(NODE **headref, char string)
newnode->word=string; /*LINE 65*/
Can anyone help me figure this out?