int max(value1,value2)
This macro returns the greater of the values contained in the value1 and value2 parameters.
Parameter | Description |
value1 | Specifies the first of two values. | |
value2 | Specifies the second of two values. |
The return value specifies value1 or value2, whichever is greater.
The values identified by the value1 and value2 parameters can be any ordered type.