what is static data member and static member function of a class
Answers
Answered by
2
Explanation:
A static member function can be called even if no objects of the class exist and the static functions are accessed using only the class name and the scope resolution operator ::. A static member function can only access static data member, other static member functions and any other functions from outside the class.
hope it will help u ❤
plz mark me as brainliest
Answered by
0
Answer:
A static member function can be called even if no objects of the class exist and the static functions are accessed using only the class name and the scope resolution operator ::. A static member function can only access static data member, other static member functionsand any other functions from outside theclass.
Similar questions