C++ examples for Data Type:char
ESCAPE CHARACTER | MEANING |
---|---|
\' | Literal single quotation mark |
\" | Literal double quotation mark |
\\ | Literal backslash |
\a | Bell |
\b | Backspace |
\f | Form feed |
\n | Newline |
\r | Carriage return |
\t | Horizontal tab |
\v | Vertical tab |
\nnn | ASCII character corresponding to number nnn, where nnn is an octal number (base 8) |
\xhh | ASCII character corresponding to number hh, where hh is a hexadecimal number (base 16) |