Question: 1 . Write a program that reads in 1 0 lines from a text file and writes it out in reverse order. Use an array
Write a program that reads in
lines from a text file and writes it out in reverse order. Use an array of string data types to store the contents of the file
Build a linked list of strings. Modify the code from ealier to store the strings in a linked list instead of an array
until end of file not just first
lines
Modify your program so it stores the strings in sequential order
In the string list ask the user which string they want to delete. Remove the corresponding node from the list. Print out the new list with the node removed. Try removing the beginning, middle and end elements.
Add a recursive function that will print out the sorted strings in reverse order and delete the nodes everything in C
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
