Question: (Please use C Language only) Write a C program that: creates and prints out a linked list of strings. Similar to java your program should

(Please use C Language only)

(Please use C Language only) Write a C program that: creates and

Write a C program that: creates and prints out a linked list of strings. Similar to java your program should include the node struct. Test your program for different lists of string. Add the following functions to the program above . void add after (node ptr &list, char a word, char word after[]) which inserts a node containing "word_after" in the linked list "list", after the first occurrence of a node containing "a_word". If "list" does not contain such a node, the function leaves it unchanged. . void delete node (node ptr &a list, char a word[l) which deletes the first node in "a list" which contains "a word" a) b) void list selection sort (node ptr &a list) which sorts a list alphabetically (use your answer to Question 4 to help). sample input/output might be: Enter first word (or'.' to end list): though Enter next word (or '.' to end list) actions Enter next word (or '.' to end list): speak Enter next word (or '.' to end list louder Enter next word (or'.'to end list): than Enter next word (or '.'to end list): words Enter next word (or'.'to end list): . THE LIST IS NOW: though actions speak louder than words AFTER WHICH WORD WOULD YOU LIKE TO ADD AN EXTRA WORD? though WHICH WORD WOULD YOU LIKE TO ADD? many THE LIST IS NOW: though many actions speak louder than words WHICH WORD WOULD YOU LIKE TO DELETE? than THE LIST IS NOW: though many actions speak louder words AFTER SORTING, THE LIST IS: actions louder many speak though words

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!