Which is a correct statement from the following?
A. At the end of the string, a null character is automatically added by the compiler.
B. If the size of the array is not explicitly mentioned, the compiler automatically calculates the size of the array based on the number of elements in the list and allocates space accordingly.
C. In the initialization of the string, if all the characters are not initialized, then the rest of the characters will be filled with NULL.
D. All the above
Answer:D
Which is a correct statement from the following?
A. At the end of the string, a null character is automatically added by the compiler. B. If the size of the array is not explicitly mentioned, the compiler automatically calculates the size of the array based on the number of elements in the list and allocates space accordingly. C. In the initialization of the string, if all the characters are not initialized, then the rest of the characters will be filled with NULL. D. All the above