Google News
logo
CPP - Quiz(MCQ)
By using which function does the buffer are automatically flushed?
A)
fclose
B)
fopen
C)
copy
D)
compare

Correct Answer :   fclose


Explanation : fclose() is used to close the file and flush it out of memory for safe closing of files opened during the execution of program. In short to avoid memory faults during the execution of the program.

Advertisement