1.

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

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


Discussion

No Comment Found

Related MCQs