![]() | ![]() | ![]() | Constants |
An integer constant is an unbroken string of decimal digits.
A character constant is formed by placing a single ASCII character or one of the escape sequences described below between a pair of single quotes.
Within character constants the following escape sequences can be used to specify that the special character shown should be used as the value of the constant.
escape | designated |
sequence | character |
\n | newline |
\\ | backslash |
\' | single quote |
Note that Co does not recognize character string constants (or provide any other support for manipulating character strings).
![]() | ![]() | ![]() | Constants |