To check for errors during file operations, you can use the ______ function.

  • fileStatus()
  • checkFileError()
  • feof()
  • ferror()
The correct option is d) ferror(). This function is used to check for errors during file operations and returns a non-zero value if an error is encountered.
Add your answer
Loading...

Leave a comment

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