Common Escape Sequences
EscapeSequence Name Description
\n Newline Causes the cursor to go to the next line for subsequent printing.
\t Horizontal tab Causes the cursor to skip over to the next tab stop.
\a Alarm Causes the computer to beep.
\b Backspace Causes the cursor to back up, or move left one position.
\r Return Causes the cursor to go to the beginning of the current line, not
the next line.
\\ Backslash Causes a backslash to be printed.
\' Single quote Causes a single quotation mark to be printed.
\" Double quote Causes a double quotation mark to be printed.
we will discuss all escape sequences using c++ program to get more in depth.