Question: write a C++ program by Creating a linked list using the functions Putltem, Deleteltem, MakeEmpty, IsFull, GetLength, ResetList, GetNextItem and perform the following operations:
write a C++ program by Creating a linked list using the functions Putltem, Deleteltem, MakeEmpty, IsFull, GetLength, ResetList, GetNextItem and perform the following operations: Insert the values: 5, 10, 15, 20, 25 at the end of the linked list using Putltem. Delete the value 15 from the linked list using Deleteltem. Print the elements of the linked list. Check if the linked list is full using IsFull and print the result. Get the length of the linked list using GetLength and print the result. Reset the current position in the linked list using ResetList. Iterate through the linked list using GetNextItem and print each value.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
