Answer Posted / khan
Static member functions give internal linkage. The function
declared as static is not visible outside the file in which
it is declared. It is not associated with "this" pointer and
it can be invoked using class name instead of depending on
individual object. It can access only static members of the
class.
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
Is it possible to provide default values while overloading a binary operator?
What is namespace & why it is used in c++?
What is overloading unary operator?
What is the this pointer?
What is increment operator in c++?
Can union be self referenced?
What is class invariant in c++?
Where are setjmp and longjmp used in c++?
What are the various access specifiers in c++?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
What is size_type?
When do we use copy constructors?
How can an improvement in the quality of software be done by try/catch/throw?
What is type of 'this' pointer?