C++ Inline Function Question:
Download Questions PDF

Explain static member functions?

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?