• 2022-06-05
    For objects of class Rational, overload the unary operator " - ", and the declaration of the operator function is_______
    A: void Rational::operator-();
    B: friend Rational operator-( );
    C: Rational Rational::operator-()
    D: friend void operator-( Rational a );