C++ Virtual Functions Question: Download Questions PDF
Tell me what are static member functions?
![C++ Virtual Functions Interview Answer C++ Virtual Functions Interview Question](https://globalguideline.com/public/images/interview/31.png)
Answer:
Static member functions are used to maintain a single copy of a class member function across various objects of the class. Static member functions can be called either by itself, independent of any object, by using class name and :: (scope resolution operator) or in connection with an object.
Download C++ Virtual Functions Interview Questions And Answers
PDF
Previous Question | Next Question |
Can you please explain the difference between static and dynamic binding of functions? | Do you know what are static and dynamic type checking? |