What is this Pointer? Give an example.
The this Pointer: When a function of a class is called by an object of that class, each variable gets an pointer which points to that calling object, meaning that this variable was called by that object or this variable is under that object. This pointer is called this pointer. To clarify consider the following … Read more