max

Is a macro that returns the larger of two integers.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  int max (
     int   a, 
     int   b);
  

Parameters

a

(IN) Specifies the first integer.

b

(IN) Specifies the second integer.

Return Values

Returns the larger of the two integers.

See Also

min