0% found this document useful (0 votes)
11 views

Escape Sequence

The document lists various escape sequences used in C programming, along with their names and descriptions. Each escape sequence serves a specific function, such as generating sounds, moving the cursor, or representing special characters. Examples include newline, tab, and representations for octal and hexadecimal numbers.

Uploaded by

Aneta Baby
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Escape Sequence

The document lists various escape sequences used in C programming, along with their names and descriptions. Each escape sequence serves a specific function, such as generating sounds, moving the cursor, or representing special characters. Examples include newline, tab, and representations for octal and hexadecimal numbers.

Uploaded by

Aneta Baby
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Escape Sequence Name Discription

/a Alarm or Beep It is used to generate a bell sound in the C


program.

/b Backspace It is used to move the cursor one place


backward.

\f Form Feed It is used to move the cursor to the start of


the next logical page.

\n New Line It moves the cursor to the start of the next


line.

\r Carriage Return It moves the cursor to the start of the


current line.

\t Horizontal Tab It inserts some whitespace to the left of the


cursor & moves the cursor accordingly.

\v Vertical Tab It is used to insert vertical space.

\\ Backlash Use to insert backslash character.

\’ Single Quote It is used to display a single quotation


mark.

\” Double Quote It is used to display double quotation


marks.

\? Question Mark It is used to display a question mark.

\ooo Octal Number It is used to represent an octal number.

\xhh Hexadecimal It represents the hexadecimal number.


Number

\0 NULL It represents the NULL character.

\e Escape sequence It represents the ASCII escape character.

\s Space Character It represents the ASCII space character.

\d Delete Character It represents the ASCII DEL character.

You might also like