Use of fflush (stdin)? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
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