"New line" or "Line feed" is a special character that has an ASCII value, The ASCII value of "New line" Escape sequence is 10 in Decimal we can use its Octal value ( 12) and Hexadecimal value ( 0A) with backslash. New line using Octal and Hexadecimal Escape Sequence A horizontal tab control character (octal 011) may be changed into spaces by the. We can also use some Octal and Hexadecimal values after the backsplash, that are known as Octal and Hexadecimal Escape Sequences. The ANSI system defines the American National Standard Code for. That are used for some specific formatting like '\n' is used set cursor at the beginning of next line and '\t' is used to set cursor on next tab stop. Traditionally, an Escape Sequence starts with backsplash ( \) and a single character like '\n', '\t' etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |