1.

What will be the output of the following PHP code ?
<?php
$emp = array("Ajit", "Ats", "Aju","Rahul");
for ($p = 0; $p < count($emp); $p++)
{
if ($emp[$p] == "Rahul")
continue;
printf ($emp[$p]);
}
?>

A. AjitAtsAjuRahul
B. AjuAtsRahul
C. Error
D. Nothing
E. AjitAtsAju
Answer» F.


Discussion

No Comment Found

Related MCQs