Discussion Forum : Php Operators And Expressions
Question - What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j;
Options:
A .  true0
B .  20
C .  true20
D .  0
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

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