120k views
1 vote
Why escape sequence is used? Explain with example?

1 Answer

3 votes

Answer:

They are especially used to specify actions for eg. carriage returns and tab movements on terminals or printers.

They are also used to provide literal representation.

hope it helps!

User Kevin LeStarge
by
5.8k points