Where are macros stored?
c, c-preprocessor, macros
Solution
Yes. the last one
just a text replacement
It is performed by a preprocessing pass. Some good details can be found here
Problem
If I use macros in my C code, such as ``` #define var 10 ``` then where exactly are the stored in the space allocated to the process by the kernel? In heap or BSS or global data? Or is it just a text replacement for var in one of the compiler passes?