The number of characters output is 5. 1000
is four characters. \n
is one character.
printf
doesn’t return the number of “items” output like the scanf
family of functions do for input. It returns the actual character count.
The number of characters output is 5. 1000
is four characters. \n
is one character.
printf
doesn’t return the number of “items” output like the scanf
family of functions do for input. It returns the actual character count.