|
|
|
|
|
by BenjiWiebe
403 days ago
|
|
Whether the string ends in NULL or not is up to you as a programmer. It's only an array of bytes, even though the convention is to NULL-terminate it. Well maybe more than just a convention, but there is nothing preventing you from setting the last byte to whatever you want. |
|
A string is defined as byte array with Null at last. Remove the Null and it's not a string anymore.