I don't know about other compilers, but I know gcc provides a means to see your source code after the preprocessor stage but before the compilation stage. You just use the -E switch:
Code:
itsme@dreams:~/C$ cat preproc.c
#define MIN(x,y) (((x) > (y)) ? (y) : (x))
int main(void)
{
int a = 5;
int b = 7;
int c;
c = MIN(a, b);
return 0;
}
Code:
itsme@dreams:~/C$ gcc -Wall -E preproc.c
# 1 "preproc.c"
int main(void)
{
int a = 5;
int b = 7;
int c;
c = ((( a ) > ( b )) ? ( b ) : ( a )) ;
return 0;
}
itsme@dreams:~/C$
Maybe you'll find that helpful.