What is the use of endl in c++?



What is the use of endl in c++?..

Answer / Nimisha

endl in C++ is used to insert a newline character into a stream and flush it. It also forces the buffer to be written to the output device.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How to create a pure virtual function?

1 Answers  


how can u create a doubly linked list with out using pointers?

2 Answers  


How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?

1 Answers  


Can c++ do everything c can?

1 Answers  


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

0 Answers  


what you know about c++?

1 Answers   IBS,


How do I make turbo c++ full screen?

1 Answers  


What are the three types of access specifiers in C++?

1 Answers  


What do you mean by Stack unwinding?

1 Answers  


Write about all the implicit member functions of a class?

1 Answers  


What is a class template?

1 Answers  


Which is best ide for c++?

1 Answers  


Categories