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

Listed below are some of the possible characteristics of member functions. Which one of them is NOT TRUE?

  1. All the member functions should be defined within the class itself
  2. Several different classes can use the same function name
  3. Member functions can access the private members of the class
  4. A member function can call another member function directly without using the dot operator.



Answer: 
Option a: All the member functions should be defined within the class itself

Explanation Here

Post a Comment

0 Comments