Answer Posted / anthony michael
Static function and static variable does not below to single
instance of a class.
To access static functions we don't need instance of a class
instead it can be accessed using the class name followed by
::operator as:
[class_name::static_function() ]
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is problem with overriding functions?
How a modifier is similar to mutator?
What are the four main data types?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What is implicit conversion/coercion in c++?
What is the best book for c++ beginners?
Difference between delete and free.
What are c++ tokens?
What's c++ used for?
what are the decision making statements in C++? Explain if statement with an example?
What is a static member?
Explain how an exception handler is defined and invoked in a Program.
Explain the difference between realloc() and free() in c++?
What is the most powerful coding language?
Who discovered c++?