comp.lang.c
[Top] [All Lists]

Re: printf and cout

Subject: Re: printf and cout
From: Bernhard Schauer
Date: Wed, 26 Mar 2008 12:02:09 +0100
Newsgroups: comp.lang.c

> When printf is handed a %c, it converts the corresponding int argument to
> an unsigned char. See 4.9.6.1 of C89 or 7.19.6.1(8) of C99.

Good to know ;-)

-- 
Bernhard Schauer
schauer_at_cruxy_dot_net

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy