Problem 29
Write the definition of the function template that swaps the contents of two variables.
Problem 30
a. Overload the operator + for the class newString to perform string concatenation. For example, if \(s 1\) is "Hello " and \(s 2\) is "there", the statement: \(s 3=s 1+s 2 i\) should assign "Hello there" to s3, in which \(s 1, s 2,\) and \(s 3\) are newString objects. b. Overload the operator \(+=\) for the class newString to perform the following string concatenation. Suppose that \(s 1\) is "Hello " and s2 is "there". Then, the statement: \(s 1+s 2\) should assign "Hello there" to s1, in which s1 and s2 are newString objects.