The previous
question:https://www.answers.com/homework-help/que ... -q94775068
4. list_demo Create a small C program called list_demo that demonstrates the functionality of your three functions. Your main function should of the list_demo program should do the following: • create a list of 3 or more elements and print the list • swap any two elements and print the list • Create a second list of 3 or more elements and print the second list • add all the elements of one list to the other and print the first (modified) list • get a sublist of the first list and print the sublist • swap any two elements of the sublist and print the sublist • print the first list (showing that swapping elements in the sublist also swaps elements of the original list) When your program prints a list it should also print a short message explaining what is being printed (e.g., "first list" "after swapping" , etc.)
The previous question:https://www.answers.com/homework-help/questions-and-answers/file-listc-include-include-include-inclu
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am