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 |
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,
What is a constructor initializer list?
What is function overloading and operator overloading in C++?
Explain encapsulation in C++.
Explain the importance of method overloading in C++?
0 Answers Akamai Technologies, Infogain,
Discuss the role of C++ shorthands.
Define namespace.
What is the difference between public, private, and protected inheritance?
What are the fundamental features of an object-oriented language?
What are the costs and benefits of using exceptions?
what is friend function in C++?
What is constant keyword in C++? Illustrate its various uses.
0 Answers Akamai Technologies, Infogain,