The Null Character ‘\0’
The reason it can only hold a string of size-1 characters is that we need one space to hold the sentinel value ‘\0’ to indicate the extent of the actual string stored in the variable str
Warning: ensuring that there is
sufficient space is your problem!
The character ‘\0’ is known as the
null character and has value 0
The thing that distinguishes a string
variable from an array of characters is
that a string must contain the