Write a C function with the following prototype: int copyFile(char *filenamel, char *filename2); Given the names of a destination and of a source file (respectively, filenamel and filename2), the...

This is not a graded question so please don't disregard it as if it is.Thank you in advance professor! Note: Everything should be coded in C AND NOT C++Write a C function with the following prototype:<br>int copyFile(char *filenamel, char *filename2);<br>Given the names of a destination and of a source file (respectively, filenamel and filename2), the function should copy the<br>content of the source into the destination file, after transforming the alphabetic characters from lowercase to uppercase and vice-<br>versa (all the other characters are copied as they are). In case the copy operation is not successful, the function should return<br>the value -1. Otherwise, it should return the total number of characters that were successfully copied.<br>

Extracted text: Write a C function with the following prototype: int copyFile(char *filenamel, char *filename2); Given the names of a destination and of a source file (respectively, filenamel and filename2), the function should copy the content of the source into the destination file, after transforming the alphabetic characters from lowercase to uppercase and vice- versa (all the other characters are copied as they are). In case the copy operation is not successful, the function should return the value -1. Otherwise, it should return the total number of characters that were successfully copied.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here