Tuesday, July 14, 2009

What is meant by preprocessor in "c language"?

it is about the "c language".

What is meant by preprocessor in "c language"?
It is a program that preprocess the source code before it is passed to the compiler.There r different kind of preprocessor command or directive like macro expansion, file inclusion,conditional compilation etc...
Reply:The preprocessor is one of the four tools that a compiler suite needs to compile your source code.





Being executed as first, the preprocessor looks in the source code for C macros and substitutes them against the corresponding code.


You can recognize those macros by the # in front of the keyword (#include, #pragma, #define, #ifdef, ...)

thank you cards

No comments:

Post a Comment