C compiler with embedded metalanguage.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

15 linhas
295 B

/*
* f(2) will expand to 2*g, which will expand to 2*f, and in this
* moment f will not be expanded because the macro definition is
* a function alike macro, and in this case there is no arguments.
*/
#define f(a) a*g
#define g f
int
main(void)
{
int f = 0;
return f(2);
}