nerdexam
National_Instruments

200-500 · Question #115

What is the output of the following code? echo "22" + "0.2", 23 . 1;

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

Question

What is the output of the following code? echo "22" + "0.2", 23 . 1;

Options

  • A220.2231
  • B22.2231
  • C22.2,231
  • D56.2

How the community answered

(30 responses)
  • A
    13% (4)
  • B
    80% (24)
  • C
    3% (1)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice