Purpose of fflush() function - flushes all streams and specified streams
Q. What is the purpose of fflush() function? (C programming)- Published on 25 Jun 15a. flushes all streams and specified streams.
b. flushes only specified stream.
c. flushes input/output buffer.
d. flushes file buffer.
ANSWER: flushes all streams and specified streams.
The fflush() function is used in the program which flushes the output buffer of a stream.