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: 1171

Copyright © 2024. Powered by Intellect Software Ltd