0
Good afternoon, i wonder if in C has how to make the following definition of macro:
#define EXEMPLO(1) a * c + b
#define EXEMPLO(2) a + b + c
#define EXEMPLO(3) b * c + a
And then use indexing in some code for example
for (x=1,x<4,x++)
{
EXEMPLO(x);
}
Thank you for the reply!
– kad