Use of fflush (stdin)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Use of fflush (stdin)?

when i used it it don't work

7th Dec 2016, 4:14 PM
Suraj Das
Suraj Das - avatar
1 Answer
0
it clears the stdin or the standard input buffer. for example it you have unwritten data this method will clear anything in if and will get it ready for new use.
7th Dec 2016, 4:19 PM
milk way
milk way - avatar