Wednesday, 1 March 2017

Escape characters in C++ language

Escape (Backslash) character Constants
In C++ there are some special backslash characters are available for specific meanings. These are used in output purpose. For example ‘\n’ is used for newline on the output. The following list shows the available backslash characters in C++:
Description/ use
Alert bell
Back space
Form feed
New line
Carriage return
Horizontal tab
Vertical tab
Single quote
Double quote
Question mark

No comments:

Post a Comment