C++ Inline Function Question:
Download Job Interview Questions and Answers 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;
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 Question | Next Question |
Explain inline function? | Described the advantages of using macro and inline functions? |