Static variable in a class is initialized when:
a. every object of the class is created
b. last object of the class is created
c. first object of the class is created
d. No need to initialize static variable
Submitted by: Murtazac. first object of the class is created
Submitted by: Murtaza
Submitted by: Murtaza
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. |