C++: Basic Concepts: Printing a Text: New Lines

New Lines
The new line character \n can be used as an alternative to endl. The backslash (\) is called an escape character, and indicates a "special" character.

Example:

Try It Yourself
 * #include
 * using namespace std;
 * int main
 * cout << "Hello World! \n";
 * cout << I love programming!";
 * return 0;
 * }
 * return 0;
 * }

Result: