parameters

JESUP RANDELL JESUP at ge-crd.arpa
Sat Dec 13 09:15:28 AEST 1986


Date: 12-DEC-1986 16:36
From: Randell Jesup
Sender: JESUP
Subject: parameters
To: info-c at brl.arpa@smtp
--------
>   printf("\tc = %x, (char)uc = %x, (char)ucf() = %x\n",
>          c, (char)uc, (char)ucf());

>Ugh. %x expects an int, so the result of feeding it a char is,
>*and ought to be*, UNDEFINED

	I was under the impression that chars are always converted to ints
when passed as arguements, which is why the (char)uc works.  Anyways, if
(char)uc doesn't do the same thing as (char)ucf(), why?
		Randell Jesup
		jesup at ge-crd.arpa

--------



More information about the Comp.lang.c mailing list