Better HN
top
new
best
ask
show
jobs
Log in
Sign up
What's the rationale for null terminated strings? | Better HN
What's the rationale for null terminated strings?
(stackoverflow.com)
3 points · by
J3L2404
· 15y ago · 1 comment
Comments
[–]
iwr
15y ago
The question should be: "Why doesn't C have a string data type?" C only considers a pointer to a char, it's the programmers' fault they treat this structure like a string.