Question: I need C codes for linux platform. only for #3 question. Ive attached #2 solution. just provide #3 solutions please. 3. Repeat part 2 (by

3. Repeat part 2 (by writing a new C program) as per the following procedure (a) Read the next 100 characters from source.txt, and among characters read, replace each char- acter '1' with character 'A' and all characters are then written in destination.txt (b) Write characters "XYZ" into file destination.txt (c) Repeat the previous steps until the end of file source.txt. The last read step may not have 100 characters. General Instructions Use perror sub-routine to display meaningful error messages in case of system call failures. Properly close the files using close system call after you finish read/write. Learn to use man pages to know more about file management system calls (e.g, man read) 10:46 Here is the solution for 2. ./cpsim source file dest file cpsim.c include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
