The expression str1 < str 2 is true when
A) the string object str1 precedes the string str 2 in alphabetic order.
B) the length of the string str1 is less than the length of the string str2.
C) the string str1 converted to numeric form is less than the string str2 converted to numeric form.
D) the C- string "str1" precedes the C- string "str2" in alphabetic order.
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
Q36: The string class member function will return
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