0

endl

what if endl is not used.....C language doesn't uses anything like that after printing

27th Dec 2017, 2:47 PM
Ananthakrishnan Ananthu
Ananthakrishnan Ananthu - avatar
6 odpowiedzi
+ 2
endl is just end line. if you want to start from next line, use endl.
27th Dec 2017, 3:02 PM
Qwqwq Rt
Qwqwq Rt - avatar
0
endl causes a Single line break.So if you want to keep typing on same line don't use endl
27th Dec 2017, 2:50 PM
᠌᠌Code X
᠌᠌Code X - avatar
0
endl is just for breaking the line. I think, that cout<<endl; is the same as cout<<"\n";
27th Dec 2017, 3:11 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
- 1
i didn't get you... what do you mean by single line break
27th Dec 2017, 2:51 PM
Ananthakrishnan Ananthu
Ananthakrishnan Ananthu - avatar
- 1
using endl it will prompt to next line
27th Dec 2017, 2:53 PM
shobhit
shobhit - avatar