adplus-dvertising
frame-decoration

Question

What is the purpose of the this pointer?

a.

To point to the location of the first object in memory

b.

To pass the address of a function

c.

To pass the address of an instance of the class

d.

To point to the last object in memory

Posted under Reverse Engineering

Answer: (c).To pass the address of an instance of the class Explanation:The this pointer is used to pass the address of an instance of the class to the member function.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the purpose of the this pointer?