Debug
In the member function version, the expression cents1 + 2 becomes function call cents1.operator+(2). Note that there is now only one explicit function parameter, and cents1 has become an object prefix. However, in lesson , we mentioned that the compiler implicitly converts an object prefix into a hidden leftmost parameter …