Examveda

What is the purpose of the 'static' keyword in C++ class members?

A. To hide the implementation details of a class

B. To initialize objects of a class

C. To create a single copy of the member shared by all objects

D. To create multiple instances of a class

Answer: Option C


Join The Discussion

Related Questions on Constructors and Destructors in C plus plus