What are escape sequences explain with an example.
Answers
Answered by
7
Answer:
Escape sequences allow you to send nongraphic control characters to a display device. For example, the ESC character (\033) is often used as the first character of a control command for a terminal or printer. Some escape sequences are device-specific.
hope it helps uhh
pls mark as brainliest
- Pari 4166❤❤
Answered by
8
Answer:
An escape sequence in C language is a sequence of characters that doesn't represent itself when used inside string literal or character. It is composed of two or more characters starting with backslash \. For example: \n represents new line.
Escape sequences are used in the programming languages C and C++, and their design was copied in many other languages such as Java and C#. An escape sequence is a sequence of characters that does not represent itself when used inside a character or string literal, but is translated into another character or a sequence of characters that may be difficult or impossible to represent directly.
In C, all escape sequences consist of two or more characters, the first of which is the backslash, \ (called the "Escape character"); the remaining characters determine the interpretation of the escape sequence. For example, \n is an escape sequence that denotes a newline character.
hope this answer is helpful
please mark as the brainliest answer
have a great day ahead
please thank my math answers
Similar questions
Computer Science,
4 months ago
Biology,
4 months ago
Social Sciences,
4 months ago
Hindi,
8 months ago
Computer Science,
8 months ago
Math,
1 year ago