What is the deference between escape character "\n" and manipulator " endl" although they have the same job ? | Sololearn: Learn to code for FREE!

+3

What is the deference between escape character "\n" and manipulator " endl" although they have the same job ?

7/23/2020 9:56:54 PM

Shafiq Almatari

2 Answers

New Answer

0

In my knowledge there is not much difference

0

The difference is that the endl does not show any writing in the program after implementation while the \ n shows the time it takes to execute the code and some of the sentences in the compiler