
what is static data members?

Static data members
Static data members are those which do not take different memory every time when we call the object.
The datamembers declared with static keyword is treated as Constants whose values cannot be changed throughout the program.
1)The memory is allocate in the seprate area called as "context" area.
2)Static data members are accessible without declaring objects.
3)They can be accessible with the class name.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.