Home »
MCQs »
OOPs MCQs
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?
- Static functions
- Const functions
- Inline functions
- 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.