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
Q7: When using the strcat function you must
Q17: The strcpy function's arguments are:
A)two C-strings
B)two addresses
C)three
Q17: The C++ library provides functions for converting
Q19: To determine whether a character is whitespace,
Q20: "Whitespace" encompasses which of the following?
A)tab
B)newline
C)space
D)All of
Q21: A test using the isupper function will
Q22: A library function that can find one
Q23: In C++ a C-string is a sequence
Q24: Which of the following lines of code
Q25: To use the strlen function in a
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