Q:

What will be the output of the following PHP code ?

belongs to collection: OBJECT TOOLS AND VARIABLES IN PHP MCQ

0

What will be the output of the following PHP code ?

<?php
$on_e = 1;
$tw_o = 2;
$thre_e = 3;
$fou_r = 4;
echo $on_e / $tw_o + $thre_e / $fou_r; 
?>

  1. 1.75
  2. 1.5
  3. 1.25
  4. 1.00

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(c).1.25

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT TOOLS AND VARIABLES IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output of the following PHP code ... >>
<< What will be the output of the following PHP code ...