Question:

Which C function allows the programmer to move the file pointer to a specific location within a file?

Show Hint

Use \texttt{fseek()} for random access to file contents by shifting the file pointer.
Updated On: June 02, 2025
  • fmove
  • fseek
  • fcursor
  • fputc
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

The `fseek()` function sets the file position of the stream to a given offset. It is used to randomly access a file.
Was this answer helpful?
0
0

Top Questions on Programming and Data Structures

View More Questions

TS PGECET Notification