> printf("%u",'c');
I think he was referring to a number. So if "%u" refers to a single
character, that would be:
printf("%u",(char)x);
If you don't convert it to 'char', and 'x' is not a char variable (or a
number), you won't see the result, since the character 0 is printed instead.
--
Sent through GMX FreeMail - http://www.gmx.net