Wednesday, July 23, 2014

Where are macros stored in the memory?

#define func() func1(){...}

Macros aren't stored anywhere separately. They get replaced by the code even before compilation.The compiler is unaware of the presence of any macro. If the code that replaces macro is large then the program size will increase considerably due to repetition.





For any clarification or suggestion please post comments below.

1 comment:

  1. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing ללמוד פיתוח

    ReplyDelete