Macro substitution is a process where an identifier in a program is replaced by a predefined string composed of one or more tokens. The preprocessor accomplishes this task under the direction of #define statement. This statement, usually known as a macro definition takes the following form: If this statement is included in the program at the beginning, then the preprocessor replaces every occurrence of the identifier in the source code by the string. Note: Care should be taken that there is no space between the # and the word define. Also there should be atleast a single space between
The post What are Macro Substitution Directives in C programming appeared first on Coding Security.
What are Macro Substitution Directives in C programming
read more
Tidak ada komentar:
Posting Komentar