Solved

Assume That the Function Call Operator() Is Overloaded for Data

Question 19

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions