What is the difference between virtual functions and pure virtual functions?
A virtual function is a member function of base class which can be redefined by derived class. A pure virtual function is a member function of base class whose only declaration is provided in base class and should be defined in derived class otherwise derived class also becomes abstract.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you write a function that can reverse a linked-list in C++?
How many times will this loop execute? Explain your answer.
What is a memory leak in C++?
In C++ what do you mean by Inheritance?
Write a C++ program to print strings in reverse order.
What does it mean to take the address of a reference?
In C++ what is a vtable and how does it work?
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
What are the advantages and disadvantages of B-star trees over Binary trees?
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
What is an abstract class in C++
0 Answers SwanSoft Technologies,
Without using third variable write a code to swap two numbers.