Question: Write a function readFile() that will open the StudentInfo.txt file created in last question and then print three students information in console output according to
Write a function readFile() that will open the StudentInfo.txt file created in last question and then print three students information in console output according to the following order : third student from the beginning of the file, the last student and the second last student. Use fseek () function to do the job.
[ Note : Please give the correct C programming codes:]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
