?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$y = 2;
if (**$y == 4)
{
echo $y;
}
?>
<?php
$y = 2;
if (**$y == 4)
{
echo $y;
}
?>
Answer & Solution
Correct Answer:
Option
C
The ** is not a valid operator,only ++ and — exist.
Join the Discussion
Login to post a comment or share your explanation.
Login