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
how to explain our contribution in the project?
What is encapsulation in c++?
What is a container class? What are the types of container classes in c++?
Is java as fast as c++?
What is the difference between passing by reference and passing a reference?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
What is an object in c++?
What does catch(…) mean?
What are namespaces in c++?
What are static variables?
Differentiate between late binding and early binding.
How can you create a virtual copy constructor?
What is a unnitialised pointer?
Is c++ a high level language?
What will happen if a pointer is deleted twice?