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 many times will this loop execute? Explain your answer.
What is latest update of C++ ?
What is constant keyword in C++? Illustrate its various uses.
0 Answers Akamai Technologies, Infogain,
How does stack look in function calls? Write a recursive function call, how will the stack look like?
To solve the 8 Queens problem, which algorithm is used?
What is Boyce Codd Normal form?
Explain encapsulation in C++.
In C++ what do you mean by Inheritance?
Define namespace.
What is function overloading and operator overloading in C++?
How to invoke a C function using a C++ program?
What are the costs and benefits of using exceptions?