Fflush in C

The function fflush is used for flushing the stream’s output buffer; that is, it is used to immediately flush the contents present in any…