PHP MCQ Variables in Php MCQ Question #2370
MCQ Single Best Answer Not Set

QWhat 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" ; 
?>

ID: #2370 Variables in Php MCQ 771 views
Question Info
#2370Q ID
Not SetDifficulty
Variables in Php MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 0.75
  • B 0.05
  • C 1.25
  • D Error
Correct Answer: Option C

Explanation

You can use _ in a variable name.

Share This Question

Challenge a friend or share with your study group.