Multiple Choice
Which of the following lines of code defines an array of C-strings that will hold 49 characters and the null terminator?
A) char [49];
B) char str[50];
C) char[50] str;
D) character str[50];
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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
Q43: To define a C-string that will store
Q44: The C-string company[12] can hold _.<br>A)twelve characters<br>B)thirteen
Q45: Which statement converts the string "10" to