Q. Which function is used to close an opened file in C?
β
Correct Answer: (B)
fclose()
Explanation: In C programming language, the fclose() function is used to close an opened file.
Syntax:
fclose(file_pointer);