To declare an array that will store students' last names of up to 25 characters in length, which is an appropriate statement?
A) string lastName[24];
B) string lastName[25];
C) char lastName[26];
D) char lastName[25];
E) None of the above
Correct Answer:
Verified
Q1: The proper expression to compare the first
Q2: The function concatenates the contents of one
Q3: The library function reverses the order of
Q4: The function _ _ accepts pointers to
Q6: The null terminator stands for the ASCII
Q7: The expression strcmp("ab", "cde") returns
A)the boolean value
Q8: After num = atoi("1000"); executes, what value
Q9: The code int x = 0; while
Q10: A C- string is a sequence of
Q11: Assume that str1 and str2 are objects
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