Home » Programming Languages » C Programs » Macro in C

Macro in C

#include <stdio.h>

#define MACRO_NAME 23

int main(void) {
	int a = 10;
	a = a + MACRO_NAME;
	printf("Adding a macro to a : %d\n", a);
	return 0;
}
C#-S: switch-case condition
C#-S: switch-case condition

Leave a Comment