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 exception handling in C++?
List out some of the object-oriented methodologies?
What is the difference between *p++ and (*p)++ ?
Is c++ harder than java?
Is structure can be inherited?
Live example for static function?
What is the default access level?
What do you mean by enumerated data type?
Explain the differences between list x; & list x();.
Why do we use double in c++?
What is Destructor in C++?
Is c++ the hardest language?