type cast in initializer
Chris Torek
chris at umcp-cs.UUCP
Wed Feb 12 13:04:50 AEST 1986
In article <354 at utastro.UUCP> nather at utastro.UUCP (Ed Nather) writes:
>In article <792 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn) writes:
>> C note of the day: 'x' is of type (int), not (char).
>The values of '\377' and -1 are one and the same without a type cast.
Yes---*if* your machine has signed `char's.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415)
UUCP: seismo!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris at mimsy.umd.edu
More information about the Comp.lang.c
mailing list