To declare a c-string and initialize it to the value of "phonebook",
A) char s1=phonebook;
B) char s1[10]="phonebook";
C) c-string phonebook;
D) char s1[10]=phonebook;
Correct Answer:
Verified
Q51: How can you assign the value "toaster"
Q52: If you want to read into a
Q53: Which of the following would correctly read
Q54: To add an element to a vector
Q55: Which of the following returns the fourth
Q57: The base type for a vector can
Q58: When the extraction operator is used to
Q59: What is the difference between strcmp and
Q60: Given the following declarations, which of the
Q61: What is the value of numbers.size) after
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