Escape Sequence Characters (Backslash Character Constants) in C Programming

C supports some special escape sequence characters that are used to do special tasks.
These are also called as ‘Backslash Characters’.

Some of the escape sequence characters are as follow:

Character Constant	Meaning
\n			New line (Line break)
\b			Backspace
\t			Horizontal Tab
\f			Form feed
\a			Alert (alerts a bell)
\r			Carriage Return
\v			Vertical Tab
\?			Question Mark
\'			Single Quote
\''			Double Quote
\\			Backslash
\0			Null


Leave A Comment

Your email address will not be published. Required fields are marked *