Andrew Finkenstadt wrote:
On 3/24/07, John Stanton <[EMAIL PROTECTED]> wrote:


Compilers do not terminate strings, library functions do.



You are guaranteed by the C standard that the string referred to by

const char message[] = "this string";


is null-terminated by the compiler.

Of course you are correct. However this string is read only and if you use GNU C and try to write to it you get a kick in the head.

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to