- Some characters you just can't
put into a string!
To sneak around this limitation,
you use Escape Characters.
In the C language,
a string is a bunch of characters
held between two double-quotes.
Everything between the double-quotes counts.
But, sometimes you can't type a character
such as the Enter key.
For example if you wanted to put
the Enter key press here
and create a new line of text,
the result would be two lines in the editor,
not the output.
The solution is to use the \n character in the string.
It's an Escape Character,
which means it starts with a backslash
that's followed by n for newline.
Together the \n is interpreted
as one character, a newline,
and it's generated when the string is output.
The C language uses about
a dozen Escape Characters,
also known as Escape Sequences.
The most common are:
newline, tab, single quote,
double quote and if you really need
to display a backslash character,
you must Escape it as well.