Purpose of fflush() function - flushes all streams and specified streams

Q.  What is the purpose of fflush() function? (C programming)
- Published on 25 Jun 15

a. 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.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)