Question
<?php
function CalAll($x,$y)
{
echo ($x + $y);
echo "<br>";
echo ($x - $y);
echo "<br>";
echo ($x * $y);
echo "<br>";
echo ($x / $y);
echo "<br>";
echo ($x % $y);
}
$x = 10;
$y = 6;
CalcAll();
?>
a.
4
60
1.6666666666667
4
16
b.
16
4
60
1.6666666666667
4
c.
4
16
4
60
1.6666666666667
d.
1.6666666666667
4
16
4
60
Posted under PHP
4
60
1.6666666666667
4
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be the output of the following PHP code ?
Similar Questions
Discover Related MCQs
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!