1.

What will be the output of the following PHP code ?
<?php
function constant()
{
define("MESSAGE", "Welcome to Interview Mania");
echo MESSAGE;
}
?>

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


Discussion

No Comment Found

Related MCQs