MAX(3) Library Functions Manual MAX(3) MAX, MIN - (libc -lc) #include MAX(a, b); MIN(a, b); a b. ( ). " " NaN. (BSD). fmax(3) fmin(3) NaN. . UNIX . . . #include #include #include int main(int argc, char *argv[]) { int a, b, x; if (argc != 3) { fprintf(stderr, "Usage: %s \n", argv[0]); exit(EXIT_FAILURE); } a = atoi(argv[1]); b = atoi(argv[2]); x = MAX(a, b); printf("MAX(%d, %d) is %d\n", a, b, x); exit(EXIT_SUCCESS); } fmax(3), fmin(3) 3 . . : . 6.18 17 2025 MAX(3)