Write C++ statements to do the following:
a. Write C++ code so that first traverses the entire list.
b. Create the node info 17 and insert after current.
c. Delete the last node of the list and 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 92. Also, deallocate the memory occupied
by this node.
e. Write a C++ code to move the node with info 46 after current by
adjusting the links of nodes in the linked list.
Write C++ statements to do the following: a. Write C++ code so that first traverses the entire list. b. Create the node info 17 and insert after current. c. Delete the last node of the list and 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 92. Also, deallocate the memory occupied by this node. e. Write a C++ code to move the node with info 46 after current by adjusting the links of nodes in the linked list.