The null terminator is automatically appended to a character array when it is initialized with a string constant.
A character array is similar to how a numeric array is a sequence of numbers. A character array is a sequence of characters. Short texts are frequently used to store a row of characters in a character vector.
They are used in computer language. When we make a program, this language is used. A sequence of characters is used to make an array.
Thus, When a character array is initialized using a string constant, the null terminator is automatically added.
To learn more about character array, refer to the link:
https://brainly.com/question/24348246
#SPJ4