added code to arr_f_ptrs.c