if (!array || index >= array->count) {{ return NULL; }} return &(array->items[index]);