1.

What will be the output of the following PHP code ?
<?php
for ($n = -5; $n < 10; --$n)
{
print $n;
}
?>

A. Error
B. Nothing
C. -5-6-7-8-9........infinite time
D. -1-2-3-4-5-6-7
E. None of these
Answer» D. -1-2-3-4-5-6-7


Discussion

No Comment Found

Related MCQs