Computer Science, asked by Jatinsahil6431, 1 year ago

How to intialize static data memebers outside class in c++?

Answers

Answered by Joel873
0
Outside of the class definition, prefixed with ClassName::

****
The same variable or function will be only one copy exists. No matter how many objects u create. All the objects use the same variable or function.
Similar questions