Tag Archives: Fseek

Write the syntax and explain the purpose of the following functions : Fseek() 2m Dec2005

Write the syntax and explain the purpose of the following functions : 2m Dec2005 (i) Fseek( ) Description The C library function int fseek(FILE *stream, long int offset, int whence) sets the file position of the stream to the given offset. Declaration Following is the declaration for fseek() function. [codesyntax lang=”c”] int fseek(FILE *stream, long… Read More »