C/C++ Arena

Step 4 of 5

Escape sequences

Some characters can't be typed directly inside a string, so C uses escape sequences that start with a backslash:

You write You get
\n new line
\t tab
\" a double quote
\\ a backslash

Your turn: print this line exactly, including the quotes:

She said "gg" and left

Previous: Several lines Next: Comments and reading errors