1.

What will be the output of the following PHP code?
 <?php
function fun1()
{
function fun2()
{
echo 'I am Ajit.';
}
echo 'I am Rahul. ';
}
fun1();
fun2();
?>

A. I am Rahul.
B. I am Ajit.
C. I am Rahul. I am Ajit.
D. Error
E. None of these
Answer» D. Error


Discussion

No Comment Found

Related MCQs