The Student class contains an overloaded addition operator w…

The Student class contains an overloaded addition operator which allows a number of credits to be added to a Student’s totalCredits. The function header is Student Student::operator+(int newCredits). The = operator has not been overloaded. Which of the following is correct in a program that declares a Student object named aStudent?

An overloaded subtraction operator subtracts two Shipment ob…

An overloaded subtraction operator subtracts two Shipment objects from each other, returning an integer that represents the difference in their totalWeight variables. The subtraction operator works as expected, with the object to the right of the minus sign being subtracted from the object to the left. The function header is int Shipment::operator-(Shipment ship). Within the function, which of the following is correct?