Microsoft
MB6-704 · Question #76
You are developing a solution for a customer. You plan to add a local embedded function to perform a recursive operation by using the following code: You need to identify which variables can be…
Sign in or unlock MB6-704 to reveal the answer and full explanation for question #76. The question stem and answer options stay visible for context.
Develop X++ code
Question
You are developing a solution for a customer. You plan to add a local embedded function to perform a recursive operation by using the following code:
You need to identify which variables can be accessed from mainMethod. Which variables should you identify?
Exhibit
Options
- AMainMethodParamand embeddedFunctionParam
- BMainMethodParamand CounterInMainMethod
- CEmbededFunctionParam and CounterInembededFunction
- DCounter InMainMethod and CounterInembededFunction
Unlock MB6-704 to see the answer
You've previewed enough free MB6-704 questions. Unlock MB6-704 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#local function#variable scope#recursive#X++ scoping
