All the member functions of local classes are __________ by default.

All the member functions of local classes are __________ by default.
A. Static
B. Inline
C. Abstract
D. Virtual
 
Answer: c
Explanation: All the members are defined inside the class body. And when the member functions are defined inside the class body, they are made inline by default. If the definition is too complex, those are made normal functions.
 

Tìm kiếm

Back
Top