Can we declare a function like this in c++:
int operator + (int , int);
Your answers will be appreciated!
Thanks
Yes: You can pass ints and floats into overloaded functions
No: You cannot overload/override the operators for built in types when the built-in types are on both sides of the expression.