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 happens when you make call 'delete this;'?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What are the rules for naming an identifier?
What are stacks?
What is an arraylist c++?
What is scope resolution operator in c++ with example?
What is an inclusion guard?
What is c++ prototype?
What is the fastest c++ compiler?
What are the c++ access specifiers?
What are c++ manipulators?
What is the use of function pointer?
What is c++ similar to?
How do you define/declare constants in c++?
explain the reference variable in c++?