HEY guys today i will tell you what is funtion overloading and how it will impliment on c++ and c programming.
FUNCTION OVERLOADING
In function overloading we make two functions of same name and it will work according given input . let us explain with example to understand more easily
add(int a,int b)
{
cout<<a+b;
}
add(float a,float b)
{ cout<<a+b;
}
int main()
{ add(3,4);
add(3.4,3.4);
return 0;
}
if you like it guys please follow on google +