please help me with printf()

sumanta.aec's Avatar, Join Date: Aug 2013
Newbie Member
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 .
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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.