The end of a string is a null terminating character ('\0'). And when that is reached it will stop printing the string. In your examples it stops printing the character when that zero is reached.
Statistics: Posted by dlemstra — 2020-05-17T00:32:55-07:00