1.

All the member functions of local classes are __________ by default.(a) Static(b) Inline(c) Abstract(d) Virtual

Answer» Correct option is (c) Abstract

The best I can explain: 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.


Discussion

No Comment Found

Related InterviewSolutions