+ 7

What is endl in c++ ?

20th Dec 2017, 3:27 PM
Prateek Jena
Prateek Jena - avatar
7 odpowiedzi
+ 6
end of line
20th Dec 2017, 4:07 PM
komal
komal - avatar
+ 2
It means the End of the line. cout << "\n"; /*is equal to*/ cout <<endl;
20th Dec 2017, 3:54 PM
Ozodbek Kuchkarov
Ozodbek Kuchkarov - avatar
+ 2
in c++ the endl is just used for the next line . for example we use "\n " in c. same as the endl is used in c++. .. for exaple cout<<" my name is kapil " <<endl; // in this way we can change the line cout << "rakpoot"; ..OUT PUT my name is Kapil Mewada .
22nd Mar 2018, 3:21 AM
Kapil Mewada
Kapil Mewada - avatar
+ 1
a command at the end of a line of code telling the program to move to the next line Using twice in succession tells it to skip a line and move to de next
17th Feb 2018, 2:56 PM
Asigri Shamsu-Deen
Asigri Shamsu-Deen - avatar
0
it mean new line
13th Feb 2018, 4:53 PM
Arya Kumar Sahgal
Arya Kumar Sahgal - avatar
0
its means that the next statement should go to next line end of line
17th Feb 2018, 10:04 PM
atikekeresola oluwatoyin
0
line feed operator
5th Oct 2018, 5:27 PM
Hritik Jena
Hritik Jena - avatar