1.

What will be the output of the following PHP code ?
<?php
$n = 128;
switch($n)
{
case "n":
print "Welcome to";
break;
case 128:
print "Interview";
break;
default:
print "Mania";
}
?>

A. Mania
B. Error
C. Interview
D. Welcome to
E. None of these
Answer» D. Welcome to


Discussion

No Comment Found

Related MCQs