Answer:
A static function can have an access to only other static members (functions or variables) declared in the same class.
A static member function can be called using the class name instead of its objects.
E.g. classname :: functionname;
A static member function can be called using the class name instead of its objects.
E.g. classname :: functionname;
Previous Question | Next Question |
Explain inline function? | Described the advantages of using macro and inline functions? |