Use rewind() to Rewind the File Pointer

Use rewind() to Rewind the File Pointer

The rewind() function sets the file pointer to the beginning of the file. This is useful for restarting file reading or writing.

← Back to Tips List