Questions tagged [pre-processor]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer

C Preprocessor Output: What is <built-in>

I wrote one of the most simple programs I could imagine: int main (void) { int a; } As you can see, there are no include files. The purpose is to understand a little bit more about the ...
3 votes
2 answers

Why do macros take more space than an equivalently defined function?

From Programming in C (3rd edition), page 309 Because macros are directly substituted into the program by the preprocessor, they inevitably use more memory space than an equivalently defined ...
  • 17.4k
13 votes
2 answers

What does the linker do?

If pre-processor copies the code from library to my source code, and then compiles the combined code, that should mean, that with my code, the library is also compiled, and linked. What does the ...