What are escape sequences?

Escape sequences are used with a ‘\’ backslash character and are used in printf statements in order to display the output of the program in a specific form. List of escape sequences:

Character Escape sequence

Double quotation mark \”
Single quotation mark \’
Question mark \?
Backslash \\
Beep \a
Backspace \b
Formfeed \f
Newlinw \n
Return \r
Tab \t

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.