nerdexam
National_Instruments

200-500 · Question #83

Which of the following is NOT a valid function declaration?

The correct answer is D. function x ($x1 = $x2). See the full explanation below for the reasoning.

Question

Which of the following is NOT a valid function declaration?

Options

  • Afunction x ($x1 = array())
  • Bfunction x (A $x1)
  • Cfunction x (A $x1 = null)
  • Dfunction x ($x1 = $x2)

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    12% (4)
  • C
    3% (1)
  • D
    79% (26)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice