P
Q. What will be the output of the following PHP code ?
Code:
<?php
switch($k)
{
case 2:
print "First";
break;
case k:
print "Second";
break;
}
?>
switch($k)
{
case 2:
print "First";
break;
case k:
print "Second";
break;
}
?>
- Correct Answer - Option(A)
- Views: 121
- Filed under category PHP
Discusssion
Login to discuss.