Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q28: Which assignment statements will copy the value
Q29: Which is the proper way to determine
Q30: How can you assign the value "toaster"
Q31: strcmpfirst, second) returns<br>A) <0 if first <
Q32: In a vector, which of the following
Q34: The notation vector<Base_Type> means that the vector
Q35: When the extraction operator is used to
Q36: What is the value of str after
Q37: To convert a string object that stores
Q38: How do you concatenate two string values