float array[] = { 0, 0, 0, 0, 0 };

numbers_in (array, array_length (array), 
                   (int i, float number) {
                                           if (array[i] != 0) array[i] = 0;
                                         });
