its the read() function
the syntax is
int bytes = (fp, buf,1);
First argument is the source file, second argument is the address of the buffer and the third argument is the maximum number of bytes we want to read.
It returns the number of bytes actually read.
Login to rate this answer.
kiran.eemuru
Answered On : Aug 1st, 2012
fread() function will read a specified number of elements from a file .
Login to rate this answer.