What is pure virtual function in C++? Give example when it is used

Answer includes what is pure virtual function in C++ with simple code example and uses of it in creating interfaces and abstract class in C++ programming. Answer: Pure virtual function in C++ object oriented programming is a virtual function with the expression โ€œ = 0โ€ appended to the function declaration. E.g. virtual void func() = … Read more