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 a map in c++?
What are the various operations performed on stack?
What do you mean by abstraction in C++?
write the programme that convert a interger to biniry number
Can non graphic characters be used and processed in C++?
What is friend class in c++ with example?
Is java easier than c++?
what is the use of templates?
Do we have to use initialization list in spite of the assignment in constructors?
Explain shallow copy?
What's the order in which the objects in an array are destructed?
Define friend function.