C++ Pointers & Functions Question:

Download Job Interview Questions and Answers PDF

When we use this pointer?

C++ Pointers & Functions Interview Question
C++ Pointers & Functions Interview Question

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?