null-terminated
Adjective
Meaning
null-terminated (not comparable)
(programming, of data) Stored in memory followed by a null character.
Synonym: zero-terminated
Examples
Example code The 68000 assembler code below is for a subroutine named strtolower which copies a source null-terminated ASCIZ character string to another destination string, converting all alphabetic characters to lower case.
Modified UTF-8 strings never contain any actual null bytes but can contain all Unicode code points including U+0000, citation which allows such strings (with a null byte appended) to be processed by traditional null-terminated string functions.
Now, the program attempts to store the null-terminated string "excessive" with ASCII encoding in the A buffer.