Function overriding in C++ is a concept of placing function over another function
RULES
1. Inheritance should be there
2. Function overriding cannot be done within a class
3. Function that is redefined must have exactly the same declaration in both base and derived class, that means same name, same return type and same parameter list
RULES
1. Inheritance should be there
2. Function overriding cannot be done within a class
3. Function that is redefined must have exactly the same declaration in both base and derived class, that means same name, same return type and same parameter list
Category
📚
Learning