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