What is the use of fflush(stdin) in c++?

Answers were Sorted based on User's Feedback



What is the use of fflush(stdin) in c++?..

Answer / saravanan

fflush will used to write file immediately instead of
storing in the memory.

Is This Answer Correct ?    7 Yes 2 No

What is the use of fflush(stdin) in c++?..

Answer / paul

For input streams, fflush() discards any buffered data that has been fetched from the underlying file, but has not been by the application.

Is This Answer Correct ?    1 Yes 2 No

What is the use of fflush(stdin) in c++?..

Answer / poonam

Is it used for any memory management or buffer management?
I thought over it and the answer i got was that it is used
for buffer memory management...Is it correct?

Is This Answer Correct ?    1 Yes 2 No

What is the use of fflush(stdin) in c++?..

Answer / madhava

enter a result at the input given data to particular location

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More OOPS Interview Questions

What is abstrac class?where is it use?

2 Answers  


what is a class

6 Answers  


What is multiple inheritance ?

17 Answers   Blue Star, C DAC, CDAC, Impetus, Ness Technologies, Softvision Solution,


Why is object oriented programming so hard?

0 Answers  


What is the fundamental idea of oop?

0 Answers  


What does and I oop and sksksk mean?

0 Answers  


What are the components of marker interface?

0 Answers  


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

0 Answers  


What is the main purpose of inheritance law?

0 Answers  


What is Hashing and how is it done? Pictorial form?

2 Answers   emc2, Wipro,


what is the technical or oop name of object?

1 Answers  


Categories