-
What will be the output of the following PHP code ?
<?php
function TvShow($int)
{
$TvShow = array("Naagin.", "CID.", "Big Boss.");
echo "This is my favourite show ". $TvShow[$int];
}
TvShow(2);
?>
-
- This is my favourite show Naagin.
- This is my favourite show CID.
- This is my favourite show Big Boss.
- Error
- None of these
Correct Option: C
Simple use of arrays.