MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ?<?php$stu = array("Ajit", "Ats", "Aju", "Rahul"); for ($g=0; $g < count($stu) - 1; $g++) { if ($stu[$g++] == "Ats") continue; printf ($stu[$g]); }?> |
| A. | AjitAtsAjuRahul |
| B. | AjitAtsAju |
| C. | AtsRahul |
| D. | AjitAts |
| E. | None of these |
| Answer» D. AjitAts | |