
- Forum
- Programming Talk
- C and C++
- keyword
keyword
This is a discussion on keyword within the C and C++ forums, part of the Programming Talk category; what is the function of fflush(stdin) in c??????...
-
12-27-2010, 07:46 AM #1
- Join Date
- Dec 2010
- Answers
- 32
keyword
what is the function of fflush(stdin) in c??????
-
it is used to flush the buffered input.
fflush(stdin) is understood to be a flaw in C since flushing the buffered input would not return anything.
-
02-23-2012, 09:02 AM #3
- Join Date
- Feb 2012
- Answers
- 66
The function fflush(stdin) allows to flush [clear] the input buffer. We use this function if we think that there might be some data in input buffer which can create problems for us while taking user inputs from stdin.
-
Sponsored Ads

Reply With Quote





