Q46
What will be the output of the following PHP code ?
A.
0
B.
1
C.
2
AnswerD.
Error
Answer: Option C
Solution
Answer: Option C
Solution:
The expression is considered as (y)%z in this case (10%4)%3 which is 2.