Write a program that substitutes an overloaded operator


Write a program that substitutes an overloaded += operator for the overloaded + operator in the STRPLUS program in this chapter.

This operator should allow statements like s1 += s2; where s2 is added (concatenated) to s1 and the result is left in s1.

The operator should also permit the results of the operation to be used in other calculations, as in s3 = s1 += s2;

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that substitutes an overloaded operator
Reference No:- TGS01528854

Expected delivery within 24 Hours