What function can be used to find the current position of the file pointer in a file?

  • fseek()
  • readPosition()
  • getCurrentPointer()
  • filePosition()
The correct function to find the current position of the file pointer in a file is 'fseek()'. It allows you to set the file position indicator to a specific location in the file and returns the current position. The other options are not valid functions for this purpose.
Add your answer
Loading...

Leave a comment

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