C++ Static Data Question:
Download Questions PDF

Default value of static variable is_____.

a. 0
b. 1
c. Garbage value
d. Compiler dependent

Answer:

a. 0

Download C++ Static Data Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain what is class using C++?If a class contains static variable, then every object of the class has its copy of static variable.

a. True
b. False