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>min() macro to find minimum of two integers</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 min()                   Macro to Find Minimum of Two Integers

 #include   <stdlib.h>

        The min() macro expands to inline code to find the minimum of two
        integers.

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

           #include <stdlib.h>

           int i = 2, j = 5, k;

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

See Also: max()

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