nerdexam
Microsoft

98-361 · Question #329

You are developing a C# program. You write the following code line: int x = 6 + 4 * 4 / 2 - 1; What will be the value of the variable x after this statement is executed?

The correct answer is B. 13. See the full explanation below for the reasoning.

Question

You are developing a C# program. You write the following code line:

int x = 6 + 4 * 4 / 2 - 1; What will be the value of the variable x after this statement is executed?

Options

  • A19
  • B13
  • C20
  • D14

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    79% (19)
  • C
    13% (3)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice