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
When there is a global variable and local variable with the same name, how will you access the global variable?
Will c++ be replaced?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What is the extraction operator and what does it do?
Explain rethrowing exceptions with an example?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
Can we use this pointer inside static member function?
Is sorted c++?
What do you mean by overhead in c++?
What is c++ stringstream?
If a header file is included twice by mistake in the program, will it give any error?
How are virtual functions implemented in c++?
Is set c++?
Is std :: string immutable?