On Wed, 05 Dec 2007 10:31:46 +0000, Mark Bluemel
<> wrote in comp.lang.c:
> Ido Yehieli wrote:
> > Hi,
> > from what i've read (http://tigcc.ticalc.org/doc/
> > keywords.html#short) and unsigned int should normally be in the range
> > 0 to 65535. However, compiling and running this program:
> >
> > #include <stdio.h>
> >
> > int main(){
> > unsigned int y=1;
> > y-=2;
> > printf("y=%i\n",y);
>
> What does the %i mask in printf() expect?
I don't know, what do you mean by mask?
> What mask should you specify for unsigned data?
Again, what mask? Most people associate the term "mask" with a
pattern, hopefully of an unsigned integer type, used in bitwise
operations.
The C standard uses the term "conversion specifier". It's ever so
much better than mask, don't you think?
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://c-faq.com/
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html