1.

Write the output of the given code:<?php$sum=0;for($a=1; $a<=8; $a +=2)$sum = $sum + $a;echo($sum);echo("<BR>");echo($a);?>

Answer»

The output is:

16

9



Discussion

No Comment Found

Related InterviewSolutions