Re: how to print a short and long integer?




"SM Ryan" <wyrmwif@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:11jcmq6ot9ausec@xxxxxxxxxxxxxxxxxxxxx
> Jack Klein <jackklein@xxxxxxxxxxx> wrote:
> # On Sun, 25 Sep 2005 04:14:29 GMT, "a" <a@xxxxxxxx> wrote in
> # comp.lang.c:
> #
> # > short s;
> # > long l;
> # > s= -2;
> # > l= -3;
> # > printf("% _ %_",s, l);
> # > What characters should be filled out in the formatted string for
> output?
> # > Thanx
> #
> # What does your C reference book say?
> #
> # What does your compiler's library manual, online help file, or man
> # pages tell you?
> #
> # Why do you think usenet is a substitute for looking up basic
> # information in standard references?
> #
> # Type this string into the search box at google.com:
> #
> # printf "conversion specifiers"
> #
> # ...and follow the first link.
>
> Amazing. You took more time and bandwidth not answering the
> question than the answer would've taken.

The technique is known as teaching.

-Mike


.



Relevant Pages