1.

What will be the output of the following PHP code ?
<?php
$opt = "1";
switch($opt)
{
case 1:
break;
print "First Statement";
case 2:
print "Second Statement";
break;
default:
print "Third Statement";
}
?>

A. First Statement
B. Second Statement
C. Third Statement
D. Nothing
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs