Вернуть меньшее из двух чисел
#include <stdlib.h>#define min( a, b ) ...
The min() function returns the lesser of two values.
![]() | The min() function is for C programs only. For C++ programs, use the __min() macro. |
#include <stdio.h>#include <stdlib.h>int main( void ){int a;a = min( 1, 10 );printf( "The value is: %d\n", a );return (EXIT_SUCCESS);}
ЗОСРВ «Нейтрино»
Предыдущий раздел: Описание API системной библиотеки