1.

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

A. Undefined variable: k
B. First
C. Second
D. Nothing
E. None of these
Answer» B. First


Discussion

No Comment Found

Related MCQs