The number in parentheses at the end of an exercise refers to the learning objective listed at the beginning of the chapter.
Write C++ statements to do the following: (3, 4)
a. Write a C++ code so that current traverses the entire list.
b. Create the node with info 68 and insert it between trail and last.
c. Delete the last node of the list and also deallocate the memory occupied by this node. After deleting the node, make last point to the last node of the list and the link of the last node must be nullptr.
d. Delete the node with info 10. Also, deallocate the memory occupied by this node.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.