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 is c++ in english?
Explain one method to process an entire string as one unit?
How can I disable the "echo" feature?
What does I ++ mean in c++?
What does the ios::ate argument do?
In c++, what is the difference between method overloading and method overriding?
When is the copy constructor called?
What is c++ w3school?
Is c++ a high level language?
Is nan a c++?
What are enumerations?
How do you write a function that can reverse a linked-list?
What does #define mean in c++?
Explain how to initialize a const data member.
What is abstraction c++?