Q. What is the use of this pointer? (Solved)
1. When local variable’s name is same as member’s name, we can access member using this pointer.
2. To return reference to the calling object
3. Can be used for chained function calls on an object
4. All of the above
- d. All of the above