The fseek function allows for ________ access of data within a file.

  • random
  • direct
  • sequential
  • indexed
The correct option is sequential. The fseek() function, when used with SEEK_SET, SEEK_CUR, or SEEK_END, allows for sequential access to data within a file. It enables you to move the file pointer forward or backward, or directly to the end of the file, facilitating sequential data access.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *