C++

Advanced Function and Operator Overloading in C++

The following are the main point to keep in mind while dealing with Function and Operator Overloading in C++ – must differ in the type, number of parameters could not overload a function using a pointer and array as parameters. i.e void f(int *p); //error, *p is same as p[] void f(int p[]); The above…