Escape Sequance in C language

There are various escape sequence characters available in c, that can help the programmer to perform the specific task, and the following the list of those characters that can help you to make your program better.

These are also called as ‘Backslash characters’.

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

\O

Null

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s