Question: What is the output for the following code?<?php
$total=0;
for($i=0;$i<4;$i++){
$total=$total+$i;
}
echo $total;
?>
A
B
C
6
B
7
C
8
Note: Not available