1 int func(int); 2 3 void bug(int * x,int * y,unsigned long int N)4 bug(int* x, int* y, unsigned long int N) 5 { 6 unsigned long int i; 7 int* t; 8 9 while (1) 10 { 11 for (i=1; i<=N; i++) 12 { 13 y[i] = func(x[i] - x[1]); 14 if (y[i]) 15 return; 16 } 17 t=x; x=y; y=t; 18 } 19 } 20