asked 41.9k views
4 votes
Why use fflush(stdin) in C programming language?

asked
User SeanVDH
by
8.6k points

1 Answer

0 votes
It is a a function which helps us you to clean the input buffer.
you can use this function if you are thinking that there might be some problem creating data during user inputs from stdin.
answered
User Sinaraheneba
by
8.1k points