nerdexam
Microsoft

MB6-704 · Question #84

You have the following X++ statement:

The correct answer is A. Wrong value of variableB variable. All variables must be declared before they can be used. When a variable is declared, memory is also allocated and the variable is initialized to the default value. Variable b would be initialized to 0 by default.

Develop X++ code

Question

You have the following X++ statement:

Exhibit

MB6-704 question #84 exhibit

Options

  • AWrong value of variableB variable.
  • BWrong value of variableB variable. Process was cancelled.
  • CVariable2 cannot have value greater than 2. Process was aborted.
  • DProcess was cancelled.Wrong value of variableB variable.

How the community answered

(34 responses)
  • A
    76% (26)
  • B
    12% (4)
  • C
    3% (1)
  • D
    9% (3)

Explanation

All variables must be declared before they can be used. When a variable is declared, memory is also allocated and the variable is initialized to the default value. Variable b would be initialized to 0 by default.

Topics

#exception handling#X++ output#error messages#control flow

Community Discussion

No community discussion yet for this question.

Full MB6-704 Practice