Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is purpose of fflush(stdin) function


Answer Posted / ashutosh

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<stdio.h>

Is This Answer Correct ?    60 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which language linux is written?

1288


What is the difference between char array and char pointer?

1118


hi any body pls give me company name interview conduct "c" language only

2323


What is the size of structure in c?

1213


What is the use of #include in c?

1126


What is the size of empty structure in c?

1127


How can I write functions that take a variable number of arguments?

1187


How can I implement a delay, or time a users response, with sub-second resolution?

1115


What is the difference between class and object in c?

1237


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3782


What is formal argument?

1189


What is a global variable in c?

1073


Is swift based on c?

1148


What do mean by network ?

1214


What are unions in c?

1083