Kamis, 29 Desember 2016

What is Argumented Macro Substitution in C++ Programming

The preprocessor allows us to define more complex and more useful form of substitutions. The Argumented macro substitution takes the following form: Care should be taken that there is no space between the identifier and the left parentheses. The identifiers arg1, arg2, …. , argn are the formal macro arguments that are analogous to the formal arguments in a function definition. In the program, the occurrence of a macro with arguments is known as a macrocall. When a macro is called, the preprocessor substitutes the string, replacing the formal parameters with actual parameters. For example, if the Argumented macro is declared

The post What is Argumented Macro Substitution in C++ Programming appeared first on Coding Security.


What is Argumented Macro Substitution in C++ Programming
read more

Tidak ada komentar:

Posting Komentar