ptr array[] = { &a, &b, &c, &d, &e };

pointers_in (array, array_length (array), (int index,  
                                           pptr pointer') {
                                                            ...
                                                          });
