+ 1
What mean by endl?
16 Réponses
+ 4
Hey Ankul,
endl is manipulator operator is used to format the data display.
fortunately , endl manipulator has the same effect as using the newline character "\n"
example
cout << "Hello Solo "<<endl;
cout << " Hello Ankul" <<endl;
the output is
Hello Solo
Hello Ankul
+ 1
it is end of line
+ 1
it is end of the line
go to the next line
+ 1
endl means the end of a line so that the next text to be printed is printed in a new line(\n)
0
it tells the cursor in the output terminal to go to next line it is same as \n in C
0
end line
0
print end line sign to the output stream, and flush the stream.
0
used to end line and jump to the next line
0
it means end line
0
endl is use d to end the line see i am starting with
int main()
{ cout<<"hello ankul "<<endl;
cout<<hello anky";
return0;}
true one time with endl and other time without endl you will get your answer
0
It means the ending of a line and the beginning of a new line
0
For new line
0
It makes a space
0
same to\n
0
it ends the line and moves to the next line while compiling
0
the end of the line and you go to the next line