Which of the following is TRUE about static member variable of a calss?
- Each object creates its own copy
- It is visible only within the class
- It can be initialized whenever necessary
- It cannot be assigned any initial value at the time of definition
Answer:
Option a: Each object creates its own copy
Explanation Here
0 Comments