Difference between function overloading and function template in c++
Answers
Answered by
18
Helloo!!
Function overloading is declaring function with same names but different return, parameter and data type.
It is like normal function with same name Function template is a generic type of function in which we provide a structure for function and its up to which how we used it for which type of data...
Function overloading is declaring function with same names but different return, parameter and data type.
It is like normal function with same name Function template is a generic type of function in which we provide a structure for function and its up to which how we used it for which type of data...
Similar questions