+ 1

What is the meaning of endl in a program

5th Nov 2016, 1:41 AM
Ravi choudhary
Ravi choudhary - avatar
5 Answers
+ 6
new line
9th Feb 2018, 7:20 PM
sarvesh hardikar
sarvesh hardikar - avatar
+ 4
std::endl moves to the next line, and also flushes the input buffer, which is its main difference from "\n".
5th Nov 2016, 1:48 AM
Cohen Creber
Cohen Creber - avatar
+ 1
c++ provides manipulators to format data display..endl is a manipulator...it moves to next line...
5th Nov 2016, 2:28 AM
Shruti Singh
Shruti Singh - avatar
0
it is for new line in output
5th Nov 2016, 3:53 AM
Ansil Avulan
Ansil Avulan - avatar