ProAnswers.org

How is a file closed ?

A file is closed using fclose() function

Eg. fclose(fp);

Where fp is a file pointer.