----- Original Message ----- From: "John Matthews" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, July 23, 2008 7:20 AM Subject: [c-prog] Re: printf
If you mean the strlen() return value includes the '\0', it doesn't.
It does include the '\n' however, as a previous poster correctly
pointed out.
John
OK sorry about that. I posted before I thought. I was thinking at the
same time "Now haven't I seen strlen(string)+1. In which null terminator is
added for certain situations.
Bill
