The string class overloads the += operator to perform
A) concatenation of two strings.
B) calculation of the sum of the lengths of two strings.
C) conversion to integers followed by addition.
D) calculation of the sum of the integer ASCII codes that comprise the characters in the string.
E) None of the above
Correct Answer:
Verified
Q9: The code int x = 0; while
Q10: A C- string is a sequence of
Q11: Assume that str1 and str2 are objects
Q12: The string class member function returns the
Q13: The function converts a C- string to
Q15: A good way to convert a string
Q16: To access the last character of a
Q17: A good way to convert a value
Q18: An array of characters ending with the
Q19: The strcpy function's arguments are
A)two pointers to
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