Computer Science, asked by trivedigopal666, 1 year ago

meaning of fflush(stdin) in c

Answers

Answered by mudit11
0
Hi there!

□ The answer to this is that fflush(stream) is only formally defined for output streams, so fflush(stdout) is OK, but fflush(stdin) is not.

□ The purpose
is to make the OS flush any buffers to the underlying file.

Hope it helps...
Similar questions