c / beginner
Snippet
Escape Sequences
Escape sequences start with a backslash and allow you to represent non-printable characters like newlines or tabs.
snippet.c
1
char msg[] = "Line 1\n\tIndented";
Breakdown
1
\n
The newline sequence. It moves the output cursor to the start of the next line.
2
\t
The horizontal tab sequence. It inserts a standard amount of space (indentation).