Question: in c please . Name this program merge.c-This program takes three file names as command line arguments. Each of the first two files contains a

in c please
 in c please . Name this program merge.c-This program takes three

. Name this program merge.c-This program takes three file names as command line arguments. Each of the first two files contains a list of unique integers in ascending order. The program merges these two lists into one list (again consisting of unique integers in ascending order) and saves the merged list into the third file. You can assume that all the files can be opened for either reading or writing respectively. Assume the files datal and data2 contain the integer lists as shown below. Both /a.out datal data2 data3 and./a.out data2 datal data3 would produce the merged list to be saved in the file data3, as shown below. datal: 1 2 5 7910 11 13 15 17 19 20 21 24 25 data2: 3 4 6 8 10 11 12 14 16 18 20 data3: 1 2 3 456789 10 11 12 13 14 15 16 17 18 19 20 21 24 25

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!