MIPI_BaseC_WebinarFRTK/12_Lecture12/05_macros_example_p28.c

13 lines
135 B
C
Raw Normal View History

2024-11-13 09:22:28 +03:00
#include <stdio.h>
#define A B + 1
#define B 2
int main(void)
{
int a;
a = A + 2;
printf("a = %d\n", a);
return 0;
}