InterviewSolution
Saved Bookmarks
| 1. |
What are static member functions?(a) Functions which use only static data member but can’t be accessed directly(b) Functions which uses static and other data members(c) Functions which can be accessed outside the class with the data members(d) Functions using only static data and can be accessed directly in main() functionThis question was posed to me in examination.This key question is from Types of Member Functions topic in portion Member Functions & its Types of Object Oriented Programming |
|
Answer» Right CHOICE is (d) Functions using only STATIC data and can be accessed directly in main() function |
|