If we do not initialize static variable at the time of definition then it is automatically initialize with the value 0. True or false
True
How many ways we can access static data member
- Through static resolution operator
Tell about life of static data member
- They remain in memory even when all objects of a class are destroyed.
The best use of static data member is global variable. True or False
True
Can this pointer be passed to static member function
No
Can we make arrays of object
Yes
How we can make arrays of object
We can make arrays of object for the class which have default constructor.