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's the most powerful programming language?
What is null and void pointer?
What is the difference between interpreters and compilers?
What do you mean by a template?
What is type of 'this' pointer?
Write a C++ Program to check whether a number is prime number or not?
What is the difference between structure and class?
Are vectors faster than arrays?
Write a c program for binary addition of two 8 bit numbers.
Can you write a function similar to printf()?
What is the basic difference between C and C++?
What is purpose of new operator?
What is the type of 'this' pointer? When does it get created?
By using c++ with an example describe linked list?
What language does google use?