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 #include iostream?
Is there a c++ certification?
Is java the same as c++?
What is oop in c++?
What is a flag in c++?
What do you mean by translation unit in c++?
What is struct c++?
What is the difference between global variables and local variable
Can we specify variable field width in a scanf() format string? If possible how?
Why are pointers used?
What is dynamic and static typing?
Explain the virtual inheritance in c++.
How would you use the functions memcpy(), memset(), memmove()?
What is the cout in c++?
Why is c++ so fast?