wchar_t values

Doug Gwyn gwyn at smoke.brl.mil
Sun Mar 31 00:39:16 AEST 1991


In article <990 at sranha.sra.co.jp> erik at sra.co.jp (Erik M. van der Poel) writes:
>Which of the following two conditions is the correct interpretation of
>the ANSI C standard:
>	('c' == L'c')
>	('c' == ((char) L'c'))

Neither one, although the first one is close.  The numerical values
of these two (possibly distinct) integer types shall be the same.
Note, by the way, that 'c' has type int.



More information about the Comp.std.c mailing list