Question:What is the output for the following code?
<?php
   
 $total=0;
   for($i=0;$i<4;$i++){

      $total=$total+$i;
   }
echo $total;
?>
 

A 6 

B 7 

C 8 

+ Answer
+ Report
Total Preview: 1105

Copyright © 2024. Powered by Intellect Software Ltd