To declare an array that will store students' last names of up to 25 characters in length, which is an appropriate statement?
A) char lastName[25];
B) string lastName[25];
C) char lastName[26];
D) string lastName[24];
E) None of the above
Correct Answer:
Verified
Q25: The _ function concatenates the contents of
Q26: If str is a string class object,
Q27: To access the last character of a
Q28: There exist C++ stream classes that write
Q29: A C-string can be assigned to a
Q31: After num = stoi("1000"); executes, what value
Q32: A good way to convert a string
Q33: The _ library function reverses the order
Q34: To use the ostringstream class, you must
Q35: A C-string is a sequence of characters
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents