0
What is use of 'endl '
3 Respostas
+ 5
Endl inserts a newline character.
Example:
cout<< "text1" << endl << "text2";
Output:
text1
text2
+ 1
it means end line.
Its like \n character constant. Whatever you write after it will be displayed in a new line beneath.
0
thanks