Tricky MCQ set number 00258

1. What will be the output of the following PHP code ? <?php$i = 0;while($i = 10){ print “hi”;}print “hello”;?> a) hello b) infinite loop c) hihello d) error AnswerAnswer: b [Reason:] While condition always gives 1. 2. What will be the output of the following PHP code ? <?php$i = “”;while ($i = 10){…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership