fflush()
The fflush() function flushes the output buffer of a file pointer. This is useful for ensuring that all data is written to the file.