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

12 lines
159 B
C

#include <stdio.h>
#define SUM(a,b) ((a) + (b))
int main(void)
{
int a=5, b;
b = SUM(a,3) * 10 ;
printf("a = %d b = %d\n",a, b);
return 0;
}