[LCP]printf Question

Madhav M. madhav3333 at lycos.com
Fri Aug 31 08:07:28 UTC 2001


I am afraid but it prints (it should) same numbers of "hi" as the number of characters given to stdin stream and not one more "hi".
B'cos when we type one character with new line,
2 chars are written to stdin and hence 2 "hi" are 
printed.

 
--

On Thu, 30 Aug 2001 11:31:24  
 Andrew Weaver wrote:
>In fact, it will print out one more hi than the number of chars you input.



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



More information about the linuxCprogramming mailing list