+ 1
Why are we using endl . If we dont use endl it comes error . Why is there need to use endl? After everystatement.At the end paas
2 Réponses
+ 10
Endl is the same as "/n". You use it to end the line you are writing on, and begin with a new one.
example:
cout << "abc";
cout << " def";
result:
abcdef
cout << "abc" << endl;
cout << "def";
result:
abc
def
+ 2
What kind of errors are you encountering Vishal Jaymangal Dedavat?