Is mixing char and int types as para

kah at hpfclq.UUCP kah at hpfclq.UUCP
Wed Mar 14 07:57:00 AEST 1984


Re: Mixing characters and integers as parameters.

This is NOT portable, because it depends on how a char is widened to
an integer: with sign extension or not, and this is machine dependent.
See K&R, sec. 6.1 of the C Reference Manual.

kathy harris (hpfcla!kah)



More information about the Comp.lang.c mailing list