Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   please help me with printf() (http://www.go4expert.com/forums/help-printf-t29755/)

sumanta.aec 5Aug2013 08:47

please help me with printf()
hi ,
i was experimenting with printf() and saw that printf() is returning one more than actual number of characters it sent to output buffer. but it is not happening with the string argument. can any one explain why it is happening? i am using codeblock 10 and GNU gcc compiler .

xpi0t0s 11Aug2013 14:06

Re: please help me with printf()
You will need to post some code that shows the problem. It is likely you are seeing correct behaviour and simply misunderstanding it, but I suppose it's possible it could be a bug.

All times are GMT +5.5. The time now is 02:13.