Home »
Unlabelled »
Find the Output? <?php $color=array("red","yellow","white"); $x=in_array("black",$color); if($x==0) echo "good bye"; if($x==1) echo "Hello"; ?> | PHP
Find the Output? <?php $color=array("red","yellow","white"); $x=in_array("black",$color); if($x==0) echo "good bye"; if($x==1) echo "Hello"; ?> | PHP
A.Hello
B. Error
C. good bye
D. None of the above
Ans: C
No comments:
Post a Comment