C++ MQCs with Explanation (CHAPTER : POINTERS, VIRTUAL FUNCTIONS AND POLYMORPHISM )

The statement return * this ; inside a member function of a class returns

  1. a copy of the object that invoked the function
  2. address of the member function
  3. address of this pointer
  4. None of the above



Answer: 
Option a:a copy of the object that invoked the function

Explanation Here

Post a Comment

0 Comments