BEGIN { a[1] print typeof(a[1]) printf "test %d\n", a[1] print typeof(a[1]) a[1][2] = 5 print typeof(a[1]) printf "test2 %s\n", a[1] print typeof(a[1]) }