Question: Write a C Program for the following: Create a doubly linked list. Use -999 to stop entering the elements. Delete 3 elements from the end
Write a C Program for the following:
Create a doubly linked list. Use -999 to stop entering the elements.
Delete 3 elements from the end of the linked list. Display the elements of the resulting doubly linked list in reverse order.
Sample Input/Output
Input 84 19 32 45 25 39 -999
Output 32 19 84
Input 48 20 23 45 25 39 -999 Output 23 20 48 ________________________ Input 45 25 39 48 20 23 -999 Output 39 25 45
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
