Question: 3. (C Program) If you open a file for read-write with the append flag, can you still read from anywhere in the file by using
3. (C Program) If you open a file for read-write with the append flag, can you still read from anywhere in the file by using lseek()? Can you use lseek() to replace existing data in the file. a) Write a C program to verify this. b) Make an experiment to demonstrate your code. You can make a file with 5 letters for testing. Take a screen shot of your experiment to support your result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
