Function Overloading
In C, and most other languages, you can’t define more than one function with the same name.
This can cause a mess if we need the same function for multiple types (e.g., abs/fabs or exec)
int abs(int num);
float fabs(float num);
Previous slide
Next slide
Back to first slide
View graphic version