HP C A.06.05 Reference Manual

HP C/HP-UX Implementation Topics
Lexical Elements
Chapter 10242
Lexical Elements
Identifiers: 255 characters are significant in internal and external names.
Character Constants: Any character constant of more than one character produces a
warning. The value of an integral character constant containing more than one character
is computed by concatenating the 8-bit ASCII code values of the characters, with the
leftmost character being the most significant. For example, the character constant 'AB'
has the value 256*'A'+'B' = 256*65+66 = 16706. Only the rightmost four characters
participate in the computation.
The case of alphabetic characters is always significant in external names.
The execution character set and the source character set are both ASCII.
Nonprinting characters in character constants and string literals must be represented as
escape sequences.