______ is a pointer to the current object. It is passed implicity to an overloaded operator ?
This is a pointer to the current object. It is passed implicitly to an overloaded operator.
Use of this pointer:-
The this keyword is used to represent an object that invokes the member function. It points to the object for which this function was called. It is automatically passed to a member function when it is called.
When a member function is called, it is automatically passed
an implicit argument that is a pointer to the invoking objects. This pointer is
known as 'this' pointer. It is internally created at the time of function call.
Operator overloading:-
Operator overloading is a specific case of polymorphism, where different operators have different implementations depending on their arguments.