Question: File supplied.o contains code that can build, display, duplicate, and destroy a linear linked list. For this test, you will need to write the following




File supplied.o contains code that can build, display, duplicate, and destroy a linear linked list. For this test, you will need to write the following functions in list.cpp, add function prototypes for them to list.h and invoke the functions in main.cpp. You should label the output of your test, such as "the list after insertion: "etc. int sumofList (node head) compute and return the sum of integers in the linear linked list. void insert (node "& head, int position, int newInt) insert newlnt at index "position" where index starts with 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
