1static int foo(int *a) 2{ 3 int i, tot; 4 for (i = tot = 0; i < 100; i++) 5 tot += a[i]; 6 return tot; 7} 8