I know they're the same to C, but how come one prints out a completely wrong value? I'm really stumped on this. Am i accessing out of bounds using the for loop?Code:void declare_winner (int temp2[],int counter,int i) { for(i=0;i<=3;i++){ counter += temp2[i]; } // prints out a WRONG value (358484) counter = temp2[0]+ temp2[1]+ temp2[2]+ temp2[3]; // prints out the correct value printf("%d",counter); }