Problem: You are supposed to write a small program scropy, which takes two arguments on the command line: the names of a source file and a destination file.
For the ease of checking the result, let us assume that the source file is an ASCII file.
Your program copies the contents of the source file into the destination file, but with a catch. Each pair of characters from the source file gets written into the destinationswapped (i.e., you will end up with a scrambled copy).
The swapping part, i.e. code that works on the buffer that the reading operation was putting the data into, needs to be done using pointers.
Can you write this program in C language and can you give the answer ASAP?