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

A member function declared as static

  1. can have access to only other static members of its class
  2. must be called using only the objects of its class
  3. can be called using only its class name
  4. can have access to all members in the same class



Answer: 
Option c: can be called using only its class name

Explanation Here

Post a Comment

0 Comments