Which of the following declarations correctly creates a c-string that can hold the value "phonebook"
A) char s1;
B) char s1[9];
C) char s1=10;
D) char s1[10];
Correct Answer:
Verified
Q24: How do you call the function to
Q25: _ can be thought of as an
Q26: What is the code to print out
Q27: What is the c-string function to determine
Q28: What is the difference between strcat and
Q30: How do you concatenate two string values
Q31: The _ class lets you treat string
Q32: To compare two c-strings you use the
Q33: The c-string to number conversion functions are
Q34: The declaration of an STL vector doubleVec
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