Signed/Unisgned chars (Was: What's a C expert?)

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Jun 27 18:18:29 AEST 1989


In article <2379 at uwovax.uwo.ca> 2014_5001 at uwovax.uwo.ca writes:
>Howvwer in real C (ANSI C) chars are guaranteed signed.

Not unless you declare them as "signed char".  Plain "char" may act
the same as "signed char" or "unsigned char", choice left up to the
C implementation.



More information about the Comp.lang.c mailing list