A
Q. What will be the output of the following PHP code ?
Code:
<?php
$p = 5;
$q = 6;
if (++$p == $q++)
{
echo "true ", $q, $p;
}
?>
$p = 5;
$q = 6;
if (++$p == $q++)
{
echo "true ", $q, $p;
}
?>
- Correct Answer - Option(D)
- Views: 10
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.