Which escape character is used for representing Tab stops?
Answers
Escape sequences
Escape sequencesEscape sequence Character represented
Escape sequencesEscape sequence Character represented\n New-line
Escape sequencesEscape sequence Character represented\n New-line\r Carriage return
Escape sequencesEscape sequence Character represented\n New-line\r Carriage return\t Horizontal tab
Escape sequencesEscape sequence Character represented\n New-line\r Carriage return\t Horizontal tab\v Vertical tab
You can represent any member of the execution character set by an escape sequence. They are primarily used to put nonprintable characters in character and string literals. For example, you can use escape sequences to put such characters as tab, carriage return, and backspace into an output stream.
Read syntax diagramSkip visual syntax diagram
Escape character syntax
>>-\--+-escape_sequence_character-+----------------------------><
+-x--hexadecimal_digits-----+
'-octal_digits--------------'
An escape sequence contains a backslash (\) symbol followed by one of the escape sequence characters or an octal or hexadecimal number. A hexadecimal escape sequence contains an x followed by one or more hexadecimal digits (0-9, A-F, a-f). An octal escape sequence uses up to three octal digits (0-7). The value of the hexadecimal or octal number specifies the value of the wanted character or wide character.
Note
The line continuation sequence (\ followed by a new-line character) is not an escape sequence.
Hope it helps ☺️☘️