SPLK-1002 Exam QuestionsBrowse all questions from this exam

SPLK-1002 Exam - Question 124


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

Show Answer
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

3 comments
Sign in to comment
aarveeOption: B
Aug 18, 2023

B, as arguments are not mandatory in the name

CactiAZOption: B
Aug 10, 2023

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.

Dree_DoggOption: B
Aug 16, 2023

B is correct