Vidyalelo
C++ Programming · Q96

Classes and Objects in C++

Programming · C++ Programming · question 96

Q96

How the objects are self-referenced in a member function of that class.

A.
Using a special keyword object
B.
Using this pointer
Answer
C.
Using * with the name of that object
D.
By passing self as a parameter in the member function

Answer: Option B

Solution

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