1.

What will be the output of the following PHP code ?
<?php
$k = 1;
switch(print $k)
{
case 2:
print "Statement1";
break;
case 1:
print "Statement2";
break;
default:
print "Statement3";
}
?>

A. Error
B. Statement1
C. Statement3
D. 1Statement2
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs