Which functions are declared inside a class have to be defined separately outside the class?

19. Which functions are declared inside a class have to be defined separately outside the class?

  1. Static functions
  2. Const functions
  3. Inline functions
  4. Member functions

Answer: D) Member functions

Explanation:

Member functions declared inside a class have to be defined separately outside the class. They are much like normal functions.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.