I have this assignment but I am not sure how to do it.
voidStringC::operator*=(constinti)
{
...
}
Implement the “in-place”multiplication operator above. The original contents of the string should be duplicated “i”times.Be careful about memory allocation and de-allocation.