#include
using std::cout;
using std::endl;
double larger(double a, double b);
long larger(long a, long b);
int main() {
int a_int = 15, b_int = 25;
cout << larger(static_cast(a_int), static_cast(b_int))
<< endl;
return 0;
}
double larger(double a, double b) {
cout << "double larger() called" << endl;
return a>b ? a : b;
}
long larger(long a, long b) {
cout << "long larger() called" << endl;
return a>b ? a : b;
}
long larger() called
25