Multiple Choice
To define a C-string 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 these
Correct Answer:

Verified
Correct Answer:
Verified
Q10: In C++ a C-string is a sequence
Q14: The string class's front and back member
Q25: C++11 introduces a function named to_string that
Q35: This function converts a C-string to an
Q36: The strcpy function's arguments are:<br>A)two C-strings<br>B)two addresses<br>C)three
Q39: By being able to pass arrays as
Q40: To test whether a character is a
Q41: Which of the following lines of code
Q44: The C-string company[12] can hold _.<br>A)twelve characters<br>B)thirteen
Q45: Which statement converts the string "10" to