Automatic Type Conversion
Recall that C++ will convert arguments to comply with the formal parameter declaration
Example:
mpg(45,2)
double mpg(double miles, double gals);
Previous slide
Next slide
Back to first slide
View graphic version