Which parameter should be removed from this line, that strives to overload the * operator? Type the parameter name only; don't list the type.
TimeHrMn TimeHrMn::operator*(TimeHrMn lhs, TimeHrMn rhs) {
The first parameter (lhs) should be removed. The left-hand operator is referenced as the called object.
Comments
Leave a comment