Q. What will be the output?
Code:
$x = 10; $y = 5; echo $x % $y;
β
Correct Answer: (A)
0
Explanation: 10 % 5 = 0 (remainder of division).
$x = 10; $y = 5; echo $x % $y;
Explanation: 10 % 5 = 0 (remainder of division).