What are the advantages of null terminated string?
Answers
Answer:
Advantages (I see) of Zero Terminated Strings:
very simple, no need to introduce new concepts in language, char arrays/char pointers can do.
the core language just include minimal syntaxic sugar to convert something between double quotes to a bunch of chars (really a bunch of bytes).
❥❥❥ANSWER
Advantages (I see) of Zero Terminated Strings:
Advantages (I see) of Zero Terminated Strings:very simple, no need to introduce new concepts in language, char arrays/char pointers can do.
Advantages (I see) of Zero Terminated Strings:very simple, no need to introduce new concepts in language, char arrays/char pointers can do.the core language just include minimal syntaxic sugar to convert something between double quotes to a bunch of chars (really a bunch of bytes).