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


Answers were Sorted based on User's Feedback



what is purpose of fflush(stdin) function ..

Answer / rajnish

to clear input buffer

Is This Answer Correct ?    70 Yes 10 No

what is purpose of fflush(stdin) function ..

Answer / 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

what is purpose of fflush(stdin) function ..

Answer / addu

fflush is used to clear all non printable characters which are existed through standard input i.e.,stdin

Is This Answer Correct ?    14 Yes 3 No

what is purpose of fflush(stdin) function ..

Answer / revathi pawar

to clear the thngs which r stored in memory..
the disadv s that we cant c the clearance of data

Is This Answer Correct ?    8 Yes 12 No

Post New Answer

More C Interview Questions

pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()

2 Answers   TCS, ZenQ,


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

0 Answers   Amazon,


How would you obtain the current time and difference between two times?

0 Answers   TISL,


In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,


Why should I prototype a function?

0 Answers  


how to swap two integers 1 and 32767 without using third variable

11 Answers   Microsoft, TCS,


for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????

8 Answers  


Explain how can I manipulate strings of multibyte characters?

0 Answers  


Describe the order of precedence with regards to operators in C.

0 Answers  


how to find anagram without using string functions using only loops in c programming

1 Answers   Mind Tree, TCS,


count the numbers between 100 and 300, that star with 2 and ends with 2

5 Answers   Mind Tree,


Explain threaded binary trees?

0 Answers  


Categories