"> What will be the output of the following PHP code ? < ?php one = 1; two = 2 "> " /> " />
Sail E0 Webinar
Question
What will be the output of the following PHP code ?
< ?php
one = 1;
two = 2;
three = 3;
four = 4;
echo "one / two + three / four";
?>
Options:
A .  0.75
B .  0.25
C .  1.25
D .  Error
Answer: Option D


Variables should start with a $ symbol, since one, two, three, four don't begin with $ symbol we will get an error.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers