C Preprocessor Question:

Download Job Interview Questions and Answers PDF

What is a macro in C Preprocessor?

C Preprocessor Interview Question
C Preprocessor Interview Question

Answer:

A macro is a preprocessor directive that provides a mechanism for token replacement in your source code. Macros are created by using the #define statement. Here is an example of a macro:
#define VERSION_STAMP "1.02"

Download C Preprocessor Interview Questions And Answers PDF

Previous QuestionNext Question
What is typedf?If you know then define #pragma?