UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

9.8.2.  Recovering strings from a file (with fread)

Resources

Work Plan

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.