C++ Programmer Question:
Download Questions PDF

Explain what do you mean by pure virtual functions in C++?

C++ Programmer Interview Question
C++ Programmer Interview Question

Answer:

Pure virtual function is a function which doesn't have an implementation and the same needs to be implemented by the the next immediate non-abstract class. (A class will become an abstract class if there is at-least a single pure virtual function and thus pure virtual functions are used to create interfaces in c++).

Download C++ Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what is an abstract class in C++?Tell us what do you mean by internal linking and external linking in c++?