Section 3 from Reading and writing with files
This exercise will implement the reverse functionality of the fwrite_getline.c
exercise.
Given the file in which you stored the strings, each one with its size, you should recover the strings and print them, along with their size.
You must use the fread
and malloc
functions.
The filename of the program must be fread_variable_strings.c
Upload the program to the folder
fread
in your workspace in
Subversion.