MIPI_BaseC_WebinarFRTK/25_Seminar12/03_macros_max_p11.c
2024-11-13 09:22:28 +03:00

12 lines
160 B
C

#include <stdio.h>
#define MAX(a,b) ((a)>=(b)?(a):(b))
int main(void)
{
int a=5, b=7, c;
c = MAX(a,++b) ;
printf("c = %d\n", c);
return 0;
}