Unformatted text preview: e) Show how to dynamically (with new) allocate an array of 50 nodes f) Show how to dynamically (with new) allocate an array of 50 node pointers (i.e., 50 head pointers) a. Assuming that other nodes have been added…Write an iterative function to insert a node at the end of the last linked list g) Write the code to show how you would deallocate all dynamic memory for an array of linear linked lists. Don’t forget to deallocate all of the LLL and the array afterwards....
View Full Document
- Spring '09
- dynamically allocated array, lll