Vidyalelo
C++ Programming · Q14

Constructors and Destructors in C++

Programming · C++ Programming · question 14

Q14

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
Answer
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

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board