Previous Functions Implemented Takes Input Two Different Txt Files Inputone Inputtwo Sums Q43864469
I have previous functions implemented that takes input from twodifferent .txt files, input_one and input_two and sums them up. Thefunction I need to implement is one that saves the sum as an outputto an output file.
Create a function, voidsave_output(char** argv, unsignedint* input_one, unsignedint* input_two, unsignedlong int* output,int num_ints) in C.
This function saves the summed output to an output file,.txt, whose name was specified with the program execution (i.e.,argv[3]). The file should contain one integer value perline.
input parameters:
char** argv
unsigned int* intput_one
unsigned int* intput_two
unsigned long int* output
int num_ints
return parameters:
none
Do NOT hard-code the file names.
Do NOT hard code the size of the unsigned(long) integer arrays.
Expert Answer
Answer to I have previous functions implemented that takes input from two different .txt files, input_one and input_two and sums t…
OR