Question 9
Based on the macro definition shown below, what is the correct way to execute the macro in a search string?
Convert_sales (euro, , 79)''
Convert_sales (euro, , .79)
Convert_sales ($euro,$$,s79$
Convert_sales ($euro, $$,S,79$)
Correct answer: B
Explanation:
The correct way to execute the macro in a search string is to use the formatmacro_name($arg1$, $arg2$, ...)where$arg1$,$arg2$, etc. are the arguments for the macro. In this case, the macro name isconvert_salesand it takes three arguments:currency,symbol, andrate. The arguments are enclosed in dollar signs and separated by commas. Therefore, the correct way to execute the macro isconvert_sales($euro$, $$, .79).
The correct way to execute the macro in a search string is to use the formatmacro_name($arg1$, $arg2$, ...)where$arg1$,$arg2$, etc. are the arguments for the macro. In this case, the macro name isconvert_salesand it takes three arguments:currency,symbol, andrate. The arguments are enclosed in dollar signs and separated by commas. Therefore, the correct way to execute the macro isconvert_sales($euro$, $$, .79).