Re:Did Ken, Ritchie and Brian choose wrong with NUL-terminat...
by function_seven on Tuesday January 16, 2018 @05:03PM
(#16163147)
Ha, the fact that I spelled it "NUL" instead of using the word "null" should have made me pause. :)
Ok, it's an ASCII character code point. One that's used to terminate strings. I meant it's not a character you'd find in the middle of a string, though I realize that's kinda tautological. Back when ASCII was developed, punch cards were used. Any row in the card that wasn't punched was a NUL. It wouldn't have made sense to have it in the middle of a string. It would be like missing a character altogether.
Somehow NUL is still an assigned character in the ASCII code table. Strange, hmmm?