[阅读: 505] 2009-04-15 07:31:13
A character literal is one or more characters enclosed in single quotes, as in ’x’, optionally preceded by
the letter L, as in L’x’. A character literal that does not begin with L is an ordinary character literal, also
referred to as a narrowcharacter
literal. An ordinary character literal that contains a single cchar
has type
char, with value equal to the numerical value of the encoding of the cchar
in the execution character set.
An ordinary character literal that contains more than one cchar
is a multicharacter literal. A multicharacter
literal has type int and implementationdefined
value.