Document Reading and writing with files
Read the document offered in the Resources section about using files in C.
Make sure you are capable of:
Defining the input/output model of C.
Explaining what the “file position indicator” is and which function must be used to move it to a specific point in the file.
Knowing the functions to open and close files.
Knowing the functions to read data from a file and to write data to a file,
with functions fread
and fwrite
.
Knowing which function returns the position that file position indicator is pointing at.