New course! Every coder should learn Generative AI!
Try a free lesson0
Use of fflush (stdin)?
when i used it it don't work
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.