For code:
int i;
Gcc preprocessor outputs:
How to make him keep spaces?
I invoke the preprocessor with the command: gcc -E somefile.c.
Use it in traditional mode i.e. '-traditional-cpp' as described here .