1.

What Is A Macro In C Preprocessor?

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"

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"



Discussion

No Comment Found