is the way the NULL termanator
is expressed in C
and its various offspring
. \0 must be appended to the end of all strings (character arrays
, in actuality), or bad things will happen.
Something I found hard to grasp is that both of those chars- '\' and '0'- count as one char. Because of this, char arrays must be declared with one more spot than they really have.
And yes, you are very savvy.