Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>max() macro to find maximum of two integers</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 max()                   Macro to Find Maximum of Two Integers

 #include   <stdlib.h>

        The max() macro expands to inline code to find the maximum of two
        integers.

   -------------------------------- Example ---------------------------------
        This example finds the maximum of i and j.

           #include <stdlib.h>

           int i = 2, j = 5, k;

           main()
           {
           k = max(i, j);
           }

See Also: min()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson