C++ Static Data Question: Download Questions PDF
What is static variable?
![C++ Static Data Interview Answer C++ Static Data Interview Question](https://globalguideline.com/public/images/interview/9.png)
Answer:
Static variables are the variables which has exactly one copy per class. They belong to the class as a whole but not for its instances (objects). All static variables are declared by using the modifier ‘static’.
For example:
For example:
Download C++ Static Data Interview Questions And Answers
PDF
Previous Question | Next Question |
Can you please explain what is class using C++? | What is static type varidentifier? |