extern c in array.c