#include "array.h" size_t anullidx(void *a[]) { size_t i = 0; if (NULL != a) while (a[i] != NULL) i++; return i; }