Questions tagged [pre-processor]
The pre-processor tag has no usage guidance.
3
questions
2
votes
1
answer
1k
views
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
3k
views
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 ...
13
votes
2
answers
1k
views
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 ...