What do you mean by pure virtual functions in C++? Give an example?
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 |
What is c++ code?
What is heap sort in c++?
Explain how functions are classified in C++ ?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
What is the purpose of the noexcept keyword?
Is c++ a good first language to learn?
Is c++ a difficult language?
1.what is the difference between software & package &application.
What are arithmetic operators?
What is problem with Runtime type identification?
What is private public protected in c++?
What are advantages of C++ when comparing with C?
18 Answers HP, iGate, TCS,