The function fread () in C
function size_t fread (void * ptr, size_t size, size_t nmemb, file * stream) in standard c library reads data from the given stream into the pointed array, by ptr.Function freopen () in C
function file * freopen (const char * filename, const char * mode, file * stream) in library c attaches a new filename with the given stream and at the same time closes the old