add array passing example from c to fortran