function f() { for e in "$@" do echo $e done } A=( x y z ) f a b "${A[@]}" 'c d' "e f"
a b x y z c d e f