What is flush c++?



What is flush c++?..

Answer / Sanjeev Kumar Gautam

The 'flush' function in C++ is used to clear and force the output buffer of a stream. It ensures that all the data that has been buffered for output is written immediately.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Can a Structure contain a Pointer to itself?

1 Answers  


Show the declaration for a static function pointer.

1 Answers  


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

1 Answers  


Explain what are single and multiple inheritances in c++?

1 Answers  


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1 Answers  


What is difference between class and structure in c++?

1 Answers  


What are dynamic type checking?

1 Answers  


Can the creation of operator** is allowed to perform the to-the-power-of operations?

1 Answers  


program explaining feautures of c++

1 Answers   Satyam,


If a function doesn’t return a value, how do you declare the function?

1 Answers  


What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same

3 Answers   CTS,


What is the use of class in c++?

1 Answers  


Categories