I am a little confused over the two terminologies and would be glad to get some doubts clarified.
As I understand function overloading means having mult
Overloading is the process of defining multiple methods with identical names but different signatures; Overriding is when a function in a child class has an identical signature to a virtual function in a parent class.
class Test {
// Test::func is overloaded
virtual void func(int x);
virtual void func(double y);
};
class Child : public Test {
// Child::func overrides Test::func
virtual void func(int x);
};