f(int * p,int n)1 void f (int *p, int n) 2 { 3 int j = 0, k; 4 5 for (int i = 0; i < n; i++) 6 if ((k = *p++) > 0) 7 j += k; 8 return j; 9 } 10