+ 2
What das overloading of operators mean?
3 Réponses
+ 4
Function overloading allows to create multiple functions with the same name, so long as they have different parameters.and is like making two sum function but one takes 2 integers and the other one takes 2 doubles.
+ 4
Yes if you enter an ineger it will use the int. function and the same thing for double or any data type
+ 1
so C++ knows which one of the several functions to choose according to the input