First page Back Continue Last page Graphics
example: details
The code for the function itself is simply to return the maximum of the two parameter values as the value of the function.
Instantiated by its use (since it is a function and not a class).
Use:
- int a(10), b(12);
- cout << my_max(a,b) << endl;
Output: 12