Explain the uses of static class data?
Answer / Sunanda Biswas
Static class data is a variable or function that belongs to a class but not to any particular object of that class. It is shared among all objects of the same class. Static members are used to store information common to all instances of the class, such as a counter for the number of objects created.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does new in c++ do?
What is the arrow operator in c++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What do you know about friend class and friend function?
What are the differences between a struct in C and in C++?
When volatile can be used?
Is c++ a pure oop language?
How does list r; differs from list r();?
Can we have "Virtual Constructors"?
How do you add an element to a set in c++?
Show the application of a dynamic array with the help of an example.
check whether a no is prime or not.