The string class member function will return the number of characters in the string object.
A) capacity()
B) length()
C) length(string s)
D) capacity(string s)
E) None of the above
Correct Answer:
Verified
Q2: It is possible to implement a string
Q14: Although C++ provides ample library functions to
Q28: There exist C++ stream classes that write
Q28: To declare a C- string, you should
Q30: The following statement declares a string object
Q31: The >> operator can be used to
Q32: A C- string can be assigned to
Q34: To account for the null terminator stored
Q35: When using the strcatfunction, you must be
Q38: The expression str1 < str 2 is
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