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