Question: 2 Write a C program that will read the file that was created by the previous exercise, and retrieve the strings one at a time

2 Write a C program that will read the file that was created by the previous exercise, and retrieve the strings one at a time in reverse sequence and write them to a new file in the sequence in which they were retrieved. For example, the program will retrieve the last string and write that to the new file, then retrieve the second to last and retrieve that from the file, and so on, for each string in the original file.

**NOTE: This is the previos exercise - Write a C program that will write an arbitrary number of strings to a file. The strings should be entered from the keyboard and the program shouldnt delete the file, as it will be used in the next exercise.**

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!