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

12 lines
162 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;
}