d) If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class? Justify.
If a base class declares a function to be virtual
in C and CPP