C++ MQCs with Explanation (CHAPTER 5: CLASSES AND OBJECTS

Which one of the following statements is not true for a member function declared as friend?

  1. It can be invoked like a normal function without help of any object
  2. It cannot access the members of the class directly.
  3. It cannot have objects as arguments
  4. It cannot be called using the objects of its class



Answer: 
Option a: It can be invoked like a normal function without help of any object

Explanation Here

Post a Comment

0 Comments