Can anybody tell me what does "endl" means in C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can anybody tell me what does "endl" means in C++?

24th Jan 2019, 9:43 AM
Divyanshu Singh
Divyanshu Singh - avatar
5 Answers
+ 6
Thanks
24th Jan 2019, 10:11 AM
Divyanshu Singh
Divyanshu Singh - avatar
+ 4
"endl" means endline . It work same as " \n".
3rd Mar 2019, 6:42 AM
Vishnu
Vishnu - avatar
+ 3
End line See, after end line I started writing in new line, so endl moves cursors to new line, same as '\n' Between those 2 there are technical differences which you can read in big c++ book about streams
24th Jan 2019, 9:52 AM
Elva
Elva - avatar
+ 1
endl means end line, it is a part of the iostream and is equal to "\n".
24th Jan 2019, 10:21 AM
Seb TheS
Seb TheS - avatar
0
Endl is nothing but endline which is similar to \n .
19th Apr 2019, 1:09 PM
Akhil Kallolla
Akhil Kallolla - avatar