1.

Write the output of the given code:<? php$sum=0;for($x=1; $x<=5; $x +=1)$sum = $sum + $x;echo($sum);echo(“<br>”);echo($x);?>

Answer»

The output is:

15

5



Discussion

No Comment Found

Related InterviewSolutions