Exam4Training

What is required for a macro to accept three arguments?

What is required for a macro to accept three arguments?
A . The macro’s name ends with (3).
B . The macro’s name starts with (3).
C . The macro’s argument count setting is 3 or more.
D . Nothing, all macros can accept any number of arguments.

Answer: A

Explanation:

To create a macro that accepts arguments, you must include the number of arguments in parentheses at the end of the macro name1. For example, my_macro(3) is a macro that accepts three arguments. The number of arguments in the macro name must match the number of arguments in the definition1. Therefore, option A is correct, while options B, C and D are incorrect.

Exit mobile version