jjpro.net
A discussion about fclose(); Max number of open files allowed in a program
To close a file, use the fclose() function. int fclose( FILE *fp ); The function flushes any data still pending in the buffer to the file, closes the file, and releases any memory used for the stre…