Answer Posted / manu
Static member functions have external linkage. These
functions do not have this pointers. As a result,
They cannot access nonstatic class member data using
the member-selection operators (. or –>).
They cannot be declared as virtual.
They cannot have the same name as a nonstatic function
that has the same argument types.
They are useful as they donot have access to this pointer
and so they can be called even though the class is not
instantiated.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What are the differences between the function prototype and the function defi-nition?
How many namespaces are there in c++?
What information can an exception contain?
Is c++ a float?
Differentiate between realloc() and free().
Can manipulators fall in love?
Can I make ios apps with c++?
How do I use turbo c++?
Is string an object in c++?
Is std :: string immutable?
What is friend class in c++ with example?
Why can templates only be implemented in the header file?
How a new element can be added or pushed in a stack?
What is lambda in c++?
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?