Question: programing in c language 5. Write functions which perform according to the following descriptions. The input to each function is a doubly circular linked list
5. Write functions which perform according to the following descriptions. The input to each function is a doubly circular linked list of characters. a) delete - Deletes a the input character in the linked list e.g.) delete(lst, b) where Ist is an pointer to a linked list and b is a character. b) insert - Inserts a character to the linked list. e.g.) insert(lst, b) c) printfb pirnts the content of the linked list both forward and backward. e.g.) printfb(lst) Test the functions as shown below. 1) Construct the linked list from a set of characters kIrsrtskurnj that is stored in an array 2) Then randomly select one character from the set and delete this character(s) from the linked list.Use 3) Print the content of the linked list 4) Repeat 2) and 3) two more times rand() function (execute srand(time(NULL)) first)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
