Vidyalelo
C++ Programming · Q17

Classes and Objects in C++

Programming · C++ Programming · question 17

Q17

What is the purpose of the static member variable in C++?

A.
To initialize objects of a class
B.
To define objects within a class
C.
To release resources acquired by the object
D.
To maintain common data for all objects
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board