C++ Programming and Technical

What is the primary value in using virtual functions
within C++?
a) They prevent the base class function from ever
being called.
b) They allow you to provide unique behavior for
derived classes.
c) Since they are "virtual" they sometimes don't
really exist.
d) Internet technologies

Read Solution (Total 1)

C++ Other Question

What are some guidelines / "rules of thumb" for overloading operators? What is the point in making a destructor "virtual"?
a) There is no value.
b) C++ uses it for memory leak detection.
c) It causes the derived class destructor to be
called upon delete.
d) A derived class destructor is always called, it just
changes the order of calling