Vidyalelo
PHP · Q36

Operators And Expressions

Programming · PHP · question 36

Q36

What will be the output of the following PHP code ?

A.
0.01.0
B.
01
C.
No output
D.
ERROR
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
In a class constants should be defined const MIN_VALUE = 0.0;const MAX_VALUE = 1.0; instead.