How does the following piece of code work, in other words what is the algorithm of the C preprocessor? Does this work on all compilers?
#include
The preprocessor just replaces b with a wherever it finds it in the program and then replaces a with 170 It is just plain textual replacement.
b
a
170
Works on gcc.