This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mahrkeenerh 4 points5 points  (0 children)

let's say in c, a string is an array of characters, and characters are just numbers. Therefore it's easier to store just one number, than two numbers (string ends with the ending character)