Question: a . Overload the operator + for the class newString to perform string concatenation. For example, if s 1 is Hello and s 2
a Overload the operator for the class newString to perform string concatenation. For example, if s is "Hello and s is "there", the statement
s s s;
should assign "Hello there" to s where s s and s are newString objects.
b Overload the operator for the class newString to perform the following string concatenation. Suppose that s is "Hello and s is "there". Then the statement
s s;
should assign "Hello there" to s where s and s are newString objects.
Submit your answer to dropbox.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
