Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 124

What is the correct format for naming a macro with multiple arguments?

    Correct Answer: D

    The correct format for naming a macro with multiple arguments is to enclose the arguments in parentheses. Therefore, monthly_sales(argument 1, argument 2, argument 3) is the proper format. Option D uses square brackets, which is incorrect for this context. Hence, option C is the correct answer.

Discussion
aarveeOption: B

B, as arguments are not mandatory in the name

Dree_DoggOption: B

B is correct

CactiAZOption: B

It's B. When creating a macro, you name a macro and provide the number of arguments in parentheses. You supply the argument names within the macro definition, not the name.