Why does sprintf() append a null?
My apologies. My text, "A Book on C", did not mention this. Thanks for your responses.
"My text, 'A Book on C', did not mention this" Oh dear - the null termination is absolutely fundamental to the operation of all the string-handling functions in the Standard Library!! You'll be in big trouble if it's missing...!