Multiple Choice
Assume that the function call operator() is overloaded for data type String in the usual sense of selecting a substring from a larger string. For a String object string1 with the character string "ABCDEFGHI", what string does string1(4, 2) return?
A) "EF"
B) "EFGHI"
C) "CDEF"
D) "CD"
Correct Answer:

Verified
Correct Answer:
Verified
Q14: Which statement is false?<br>A) Based on whether
Q15: Conversion constructors:<br>A) Can have multiple arguments.<br>B) Can
Q16: A copy constructor:<br>A) Is a constructor with
Q17: Which of the following is false?<br>A) A
Q18: Which of the following statements about a
Q20: Which of the following is false about
Q21: The correct function name for overloading the
Q22: The prototypes of overloaded cast operator functions
Q23: Which situation would require the operator to
Q24: The array subscript operator [], when overloaded,