A
Q. What will be the output of the following PHP code ?
Code:
<?php
$p = 25;
$q = 26;
if ($p < ++$p || $q < ++$q)
print "if statement executed...";
else
print "else statement executed...";
?>
$p = 25;
$q = 26;
if ($p < ++$p || $q < ++$q)
print "if statement executed...";
else
print "else statement executed...";
?>
- Correct Answer - Option(A)
- Views: 29
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.