1.

C++: If you have declared a static member in a class, then how many copies of static member are shared between objects?

A. Separate copy of the static member is created for all objects of the class.
B. Single copy of the static member is shared by all objects of the class.
C. Only static function are shared between objects not variable.
D. None of the above.
Answer» C. Only static function are shared between objects not variable.


Discussion

No Comment Found