[Solved]Given Following Structure Definition Typedef Linked List Strings Typedef Struct Node St No Q37081712
() Given the following structure definition and typedef for alinked list of strings:
typedef struct node st node;
struct node st
{
char *word; /* a valid string pointer or NULL */
node *next; /* next node in the list or NULL */
};
Write a C function, free list(), that takes as an argument oneof these lists, possibly NULL, and frees all the strings as well asthe list itself.
Write robust code. void free list(node *list){
Expert Answer
Answer to () Given the following structure definition and typedef for a linked list of strings: typedef struct node st node; struc… . . .
OR

