<?php$x = 3.3;$y = 2;echo $x % $y;?>
<?php
$x = 3.3;
$y = 2;
echo $x % $y;
?>
0
1
2
Error
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option B
Explanation :
% is the modulo operator. Unlike in C we can use it get reminder or floating point numbers in PHP.
Be The First To Comment