write any two characteristics of static member function. (c++)
Answers
Answered by
1
Answer:
Static Data member has the following properties:
It is initialized by zero when first object of class is created.
Only one copy of static data member is created for the entire class and all object share the same copy.
Its scope is within class but its lifetime is entire program.
This is the question of class 10th...of IT.
Answered by
0
Answer
- It is initialized to zero when the first object of its class is created.
- It is visible only within the class, but its lifetime is the entire program.
Similar questions