What is the use of fflush(stdin) in c++?
Answers were Sorted based on User's Feedback
Answer / saravanan
fflush will used to write file immediately instead of
storing in the memory.
Is This Answer Correct ? | 7 Yes | 2 No |
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 |
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 |
Answer / madhava
enter a result at the input given data to particular location
Is This Answer Correct ? | 0 Yes | 3 No |
the difference between new and malloc
what is the realstic modeling?
What is constructor in oop?
What is protected in oop?
namespace is working on which compiler?
What is the difference between a constructor and a destructor?
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
Name an advantage of array over linked list?
24 Answers GML, IBM, Software Solutions,
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
What is a class in oop?
What is polymorphism programming?