Question: 4. Given below is a C program for deleting an element from a linked list. Suggest a set of test data to cover each and


4. Given below is a C program for deleting an element from a linked list. Suggest a set of test data to cover each and every statement of this program CODE FOR DELETING ELEMENTS FROM A DOUBLY LINKED LIST PROBLEMS 4 AND 5 /* definition of the list is assumed to be given by the following structure: struct llist int value; llist next; llist prev; The caller is supposed to pass a pointer to the start of the llist and the value to be deleted; There is assumed to be at most one value to be deleted / void delete list (llist list, int value to be deleted) llist temp; for (temp = list; temp .= NULL, temp= temp->next)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
