C++ Inline Function Question:

Download Job Interview Questions and Answers PDF

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;

Download C++ Inline Function Interview Questions And Answers PDF

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