The following program creates a linked list with three names:
#include >iostream<#include >stringlink;tempPtr- Add code to the main function that:
a. Outputs in order all names in the list.
b. Inserts the name “Joshua” in the list after “James” then outputs the modified list.
c. Deletes the node with “Joules” then outputs the modified list.
d. Deletes all nodes in the list.
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.