What is correct about the static data member of a class?
1.A static member function can access only static data members of a class.
2.. A static data member is shared among all the object of the class.
3.A static data member can be accessed directly from main().
4.Both A and B.
Posted Date:-2021-02-24 09:21:47