+ 7
What is endl in c++ ?
7 Answers
+ 6
end of line
+ 2
It means the End of the line.
cout << "\n"; /*is equal to*/ cout <<endl;
+ 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 .
+ 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
0
it mean new line
0
its means that the next statement should go to next line
end of line
0
line feed operator