Technical Discussion :: C++
Home > Freshers > Technical Interview Questions > C++
6. What is "this" pointer?
Answer:
This pointer is called current object of the class.
Asked In :: Aricent TCS Syntel Inc.
The member functions of every object have access to a sort magic pointer named this, which points to the object itself. Thus any member function can find out the address of the object of which is a member.
This pointer is called current object of the class.