max
Description:
Function max specifies the highest of the two numbers.
This function name starts with a lowercase letter. |
Parameters:
(value1, value2)
int | value1 | First values from which to choose one largest. |
int | value2 | Second values from which to choose one largest. |
Return Values:
The largest value between and.
Examples:
main() { Conclusion: "Of the numbers 3 and 4, the largest is 4" new a = 3, b = 4; printf("Of the numbers %d and %d, the largest is %d", a, b, max(a, b)); }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.