1.

What will be the output of the following PHP code ?
<?php
$p = 2;
while ((--$p > ++$p) - 2)
{
print $p;
}
?>

A. 0000000000........infinite time
B. 2222222.........infinite time
C. -2-2-2-2-2-2-2-2.......infinite time
D. All of above
E. None of these
Answer» C. -2-2-2-2-2-2-2-2.......infinite time


Discussion

No Comment Found

Related MCQs