What do you mean by pure virtual functions in C++? Give an example?
Answer Posted / hrpynux@gmail.com
A pure virtual function is a virtual function in C++ for which we need not to write any function definition and only we have to declare it. It is declared by assigning 0 in the declaration. An abstract class is a class in C++ which have at least one pure virtual function.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is microsoft c++ redistributable 2013?
Differentiate between a constructor and a method in C++.
Can non graphic characters be used and processed in C++?
Explain the advantages of using friend classes.
What is the purpose of templates in c++?
What are smart pointers?
What are the differences between java and c++?
What are separators in c++?
Can I learn c++ without c?
What are c++ data types?
Can circle be called an ellipse?
What are c++ files?
What is microsoft c++ redistributable?
What is the use of :: operator in c++?
Why can’t you call invariants() as the first line of your constructor?