zeroterminated
Zero-terminated, also known as null-terminated, refers to a method of representing strings as a sequence of characters that ends with a terminator character whose value is zero. In C and many C-family languages, strings are stored as arrays of char terminated by the null character ('\0'). The terminator marks the end of the string; the length is not stored explicitly, and the content may be scanned to determine its length.
How it works: standard string operations rely on the terminator to determine where the string ends. For
Advantages and risks: Advantages include simple memory model and compatibility with C APIs, as well as cheap
Variations: In wide-character strings, the terminator is the corresponding wide null character (L'\0'). In modern C++