Answer Posted / amit
Amit Srivastava:
What i think , static functions are used with the conditions
where there is no need to occupy RAM memory unnecessarily.
As ,other than Static functions are attached with the object
and ready to use memory space as and when a object of that
class is instantiated.But Static functions are having only
one address as they are independent of Objects.
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
what is the use of void main() in C++ language?
What are c++ redistributables?
What is the object serialization?
Is c++ double?
What is the difference between struct and class?
What is cout flush?
Is c the same as c++?
What is the use of vtable?
Will c++ be replaced?
How to access a variable of the structure?
Write about a nested class and mention its use?
Where Malloc(), Calloc(), and realloc() does get memory?
What is else if syntax?
Why pointer is used in c++?
What are c++ data types?