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 are c++ templates used for?
What is a manipulative person?
Should the this pointer can be used in the constructor?
What are virtual functions in c++?
Differentiate between late binding and early binding.
What is the prototype of printf function?
what is Member Functions in Classes?
What are the extraction and insertion operators in c++? Explain with examples.
To what does “event-driven” refer?
What is linked list in c++?
What is the exit function in c++?
How do you flush std cout?
What is c++ used for in games?
Explain function overloading
What is buffer and example?