24
Argument Coercion
•
Remember our discussion of how chars
can be treated as ints
•
•
Argument Coercion
–
Forces arguments to be of the type
specified on the prototype
•
Converting
int
(4) to
double
(4.0)
•
cout << sqrt(4)