What are the uses of static class data?
Answer / Navram Singh
Static class data is used to maintain shared state across multiple object instances of a class. It is often used for storing constants, counters, or other global data within a class. Static data members are initialized only once and are accessible to all objects of the same class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What are stacks? Give an example where they are useful.
What is the full name of logo?
Write any small program that will compile in "C" but not in "C++"
Explain working of printf?
Can notepad ++ run c++?
What is flush programming?
What is :: operator in c++?
What is a static element?
What apps are written in c++?
Can I run c program in turbo c++?
Is c++ proprietary?