a function array

print array element by function