Categories
C++ Free Tutorials

Static member function – C++ tutorial

C++ tutorials >> Static Member Function in C++


Static data types can be accessed without instantiation of the class in C++. This is applicable for static functions also. The static member functions are accessible even when the class is not instantiated.