1BEGIN { 2 print typeof(x) 3 x[1] = 3 4 print typeof(x) 5} 6 7function test1() { 8} 9 10function test2(p) { 11 p[1] = 1 12} 13 14BEGIN { 15 print typeof(a) 16 test1(a) 17 print typeof(a) 18 test2(a) 19 print typeof(a) 20} 21