-
What will be the output of the following PHP code ?
<?php
$Student = array("Ajit", "Rahul", "Ats", "Aju");
echo pos($Student);
?>
-
- Ajit
- Rahul
- Ats
- Aju
- None of these
Correct Option: A
The pos() function returns the value of the current element in an array, and since no operation has been done, the current element is the first element.