0 7

BIT153 ยท 0 ยท 5 marks

What are the uses of this pointer? Discuss its concept with suitable example.

What are the uses of this pointer? Discuss its concept with suitable example. [5]

Object Oriented ProgrammingChapter 4: Pointers, References, and Memory ManagementThis pointer concept and uses

The this pointer is an implicit (hidden) pointer available inside every non-static member function of a class. It automatically holds the address of the object that invoked the member function. The compiler passes it as a hidden argument to every non-static member function call. Syntax: --- Use D...