On Tue 2008-07-22 21:57:52 UTC-0700, Raj jyotee DuttaPhookan ([EMAIL 
PROTECTED]) wrote:

> As I can count, "Hello world" has 11 characters including the gap
> between "Hello" and "world". But why does it return 12 characters?

strlen("Hello world") == 11
strlen("Hello world\n") == 12

> Paul Herring <[EMAIL PROTECTED]> wrote:
>
> int i = printf("Hello world\n");
> printf("Characters printed: %d\n", i);

Reply via email to