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

Larry Jones scjones at sdrc.UUCP
Wed Jun 28 07:27:39 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.

?  I can't say anything about "real" C, but in ANSI C, chars are
most definitely NOT guaranteed to be signed.  "signed char"s are
signed, "unsigned char"s are unsigned, and "char"s may be
either.
----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones at SDRC.UU.NET
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150-2789             AT&T: (513) 576-2070
"You can't get a body like mine in a bottle --
unless you push REAL HARD." - Judy Tenuta / Dr. Pepper



More information about the Comp.lang.c mailing list