Variables Questions And Answers
Here you can find Variables Questions and Answers.
Why Variables Questions and Answers Required?
In this Variables Questions and Answers section you can learn and practice Variables Questions and Answers to improve your skills in order to face technical inerview conducted by organisations. By
Practicing these interview questions, you can easily crack any Exams interview.
Where can I get Variables Questions and Answers?
AllIndiaExams provides you lots Variables Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download Variables Questions
and Answers as PDF files and eBooks.
How to solve these Variables Questions and Answers?
You no need to worry, we have given lots of Variables Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Competitive Exams interview.
Variables Questions & Answers
1. What will be the output of the following PHP code ?
< ?php
one = 1;
two = 2;
three = 3;
four = 4;
echo "one / two + three / four";
?>
Variables Questions & Answers
2. 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" ;
?>
Variables Questions & Answers
3. 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" ;
?>
Variables Questions & Answers
4. 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";
?>
Variables Questions & Answers
What will be the output of the following PHP code ?
< ?php
echo $red ;
?>
Variables Questions & Answers
6. What will be the output of the following PHP code ?
< ?php
echo "$four4 + $three3 / $two2 - 1";
?>
Variables Questions & Answers
7. What will be the output of the following PHP code ?
< ?php
$4four = 4;
$3three = 3;
$2two = 2;
echo "$4four + $3three / $2two - 1";
?>
Variables Questions & Answers
8. What will be the output of the following PHP code ?
< ?php
int $one = 1;
echo "$one";
?>
Variables Questions & Answers
9. What will be the output of the following PHP code ?
< ?php
var $one = 1;
var $two = 2;
echo "$one / $two * $one / $two * $two";
?>
Variables Questions & Answers
10. What will be the output of the following PHP code ?
< ?php
$hello = "Hello World";
$bye = "Bye";
echo $hello;"$bye";
?>