What is Fflush used for?
What is fflush() in C? fflush() is typically used for output stream only. Its purpose is to clear (or flush) the output buffer and move the buffered data to console (in case of stdout) or disk (in case of file output stream). Below is its syntax. Purpose of fflush() in C In the C Programming … Leggi tutto