Talk:C++ Programming/Code/Standard C Library/Functions/fgets

NULL-terminated
I changed the capitalisation (and bolding) of NULL in the phrase "null-terminated". This is because 'null' in the sense of using the zero byte to indicate the end of a string is a different sense from the NULL pointer, which is defined as a macro with capital letters. The null byte will be all-bits-zero and is a single byte, while the NULL pointer is a pointer value (typically a word, not a byte) and doesn't necessarily have all bits zero in its binary representation. --Fishpi (talk) 18:45, 20 July 2010 (UTC)


 * Good catch. These macros should in a future stage have a similar treatment to what is now being done to the keywords. --Panic (talk) 19:08, 20 July 2010 (UTC)