ashutosh


{ City } bhilai
< Country > india
* Profession * student
User No # 58245
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 60
Users Marked my Answers as Wrong # 10
Questions / { ashutosh }
Questions Answers Category Views Company eMail




Answers / { ashutosh }

Question { 30812 }

what is purpose of fflush(stdin) function



Answer

the use of fflush(stdin) is to clear the input buffer bcoz when ever we take an input the space is allocated to it but after its scope gets over, the input is removed but the space allocated is as it is. it can be used only by using headerfile
#include

Is This Answer Correct ?    60 Yes 10 No