What is static variable?
Submitted by: AdministratorStatic 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:
Submitted by: Administrator
For example:
Submitted by: Administrator
Read Online C++ Static Data Job Interview Questions And Answers
Top C++ Static Data Questions
☺ | What is local class in C++? |
☺ | Explain static type checking? |
☺ | Explain what are volatile variables? |
☺ | What is static class data? |
☺ | Explain dynamic type checking? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |