[comp.lang.c] parameters

JESUP@ge-crd.arpa (JESUP RANDELL) (12/13/86)

Date: 12-DEC-1986 16:36
From: Randell Jesup
Sender: JESUP
Subject: parameters
To: info-c@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@ge-crd.arpa

--------