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 the full name of logo?
What is c++ programming language?
What is a rooted hierarchy?
What is a dynamic binding in c++?
What is const pointer and const reference?
What is the difference between the functions rand(), random(), srand() and randomize()?
What is capacity in vector in c++?
List the special characteristics of constructor.
What is the benefit of encapsulation?
an integer constant must have atleast one a) character b) digit c) decimal point
Explain the scope of resolution operator.
What is difference between c++ and c ++ 14?
Write about the access privileges in c++ and also mention about its default access level?
What is the difference between a baller and a reference in C++?
Explain this pointer?