Vidyalelo
PHP · Q76

Operators And Expressions

Programming · PHP · question 76

Q76

What will be the output of the following PHP code ?

A.
5
B.
10
Answer
C.
15
D.
Error

Answer: Option B

Solution

Answer: Option B
Solution:
The value of global variable y does not change therefore it’ll print 10;