Examveda

In C++, what is the purpose of the 'this' pointer in a class member function?

A. It points to the memory location of the current object instance

B. It points to the previous object instance

C. It points to the next object instance

D. It points to the base class object instance

Answer: Option A


Join The Discussion

Related Questions on Constructors and Destructors in C plus plus