1
typedef int (*fn_t)(int); int map_array(int* in, int* out, int n, fn_t f){ for(int i=0;i<n;i++) out[i]=f(in[i]); return 0; }