C++ Pointers & Functions Question:

When we use this pointer?

Tweet Share WhatsApp

Answer:

'this pointer' is used as a pointer to the class object instance by the member function. The address of the class instance is passed as an implicit parameter to the member functions.

Download C++ Pointers & Functions PDF Read All 32 C++ Pointers & Functions Questions
Previous QuestionNext Question
Can you please explain the use of this pointer?Can you please explain the difference between an inspector and a mutator?