Question: A programmer is overloading the equality operator ( = = ) and has created a function named operator = = . What are the return

A programmer is overloading the equality operator (==) and has created a function named operator ==. What are the return type and arguments of this function?
Return type: int, Arguments: 2 const bool references
Return type: none, Arguments: 2 const class type references
Return type: class type, Arguments: 1 const bool reference
Return type: bool, Arguments: 2 const class type references
A programmer is overloading the equality operator

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!