Question: C++ What would be the proper function prototype of overloading the + operator of a Cat class? O const Cat operator+ (Cat right) O const
What would be the proper function prototype of overloading the + operator of a Cat class? O const Cat operator+ (Cat right) O const Cat operator+ (const Cat &right) O const Cat ++(const Cat right) O const Cat +-(const Cat &right)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
