C++ Inline Function Question:

Explain static member functions?

C++ Inline Function Interview Question
C++ Inline Function Interview Question

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;


Previous QuestionNext Question
Explain inline function?Described the advantages of using macro and inline functions?