C++ Pointers & Functions Question:
Download Questions PDF

When we use this pointer?

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the use of this pointer?Can you please explain the difference between an inspector and a mutator?