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
Which is not a valid keyword a) public b) protected c) guarded
What is the disadvantage of using a macro?
What is array in c++ pdf?
Explain function overloading and operator overloading.
Explain the uses oof nested class?
What is dev c++ used for?
What is the use of volatile variable?
Differentiate between a constructor and a method in C++.
What are associate containers?
What are the various oops concepts in c++?
What is the need of a destructor? Explain with the help of an example.
describe private access specifiers?
What is endianness?
What is oop in c++?
Explain differences between alloc() and free()?