The fread() function
The fread() function is used to read bytes form the file.
fread( ptr, int size, int n, FILE *fp );
Roll Name Marks 1 Ashish 78.53 2 Kaushal 72.65 3 Vishwas 82.65