nerdexam
Zend

200-530 · Question #3670

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

The correct answer is B. 22.2231. Zend 200-530 Exam

Data Formats & Types

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

(28 responses)
  • A
    7% (2)
  • B
    75% (21)
  • C
    4% (1)
  • D
    14% (4)

Explanation

Zend 200-530 Exam

Topics

#type juggling#string arithmetic#concatenation operator#type coercion

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice