What is endl?



What is endl?..

Answer / Madhusudan Kushwaha

endl is a manipulator in C++ that outputs the newline character (n) and flushes the output buffer. It can be used to ensure that the output is displayed immediately.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator

2 Answers   HCL, Lehman Brothers, Zoomerang,


Who discovered c++?

1 Answers  


What is a wchar_t in c++?

1 Answers  


What is an operator in c++?

1 Answers  


What is an object in c++?

2 Answers  


Explain the concept of inheritance in C++.

3 Answers  


Do you know about C++ 11 standard?

1 Answers   Agilent, ZS Associates,


What is guard code in c++?

1 Answers  


What is std :: endl?

1 Answers  


What is the rule of three?

1 Answers  


Explain the difference between static and dynamic binding of functions?

1 Answers  


how is returning structurs from functions?Show an eg?

1 Answers   GE,


Categories