Question: Write a C program named toupper.c that reads the contents of a file, and writes to another file after changing all lowercase letters in the

Write a C program named toupper.c that reads the contents of a file, and writes to another file after changing all lowercase letters in the input file to uppercase. . The name of the input file and the output file are to be passed as command line arguments. . Assume there are only ASCII characters in the input file. . The length of the input file is not known beforehand. So make sure your program keeps reading bytes until EOF is reached. . Use the library function toupper to concert letters into uppercase. Example: The program is run from the command line as follows; C:\\>toupper.exe infile.txt outfile.txt Suppose the contents of the input file infile.txt is: AbcdefG The contents of the output file outfile.txt should be: ABCDEFG
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
