My problem is deleting a node from linked list.
I have two structs :
typedef struct inner_list { int count; char word[100]; inner_list*next; }
Your if condition that is checking for the word, isn't it to supposed to be the following:
if(strcmp(temp->word, num)==0)
?