Which of the following statements is true about C-style strings in C++?
A. They must be declared using the 'string' keyword
B. They are objects of the 'string' class
C. They can have variable lengths
D. They are represented as arrays of characters terminated by a null character
Answer: Option D
Join The Discussion