⟩ What is the output of the program? #! /usr/bin/awk -f BEGIN { a[1]="google" a[2]="google" for(i=1;i<3;i++) { print a[i] } } a) "google" will print 2 times b) "google" will print 3 times c) program will generate error becasue 2 array elements have the same value d) program will generate syntax error
a) "google" will print 2 times
Output:
root@ubuntu:/home/google# ./test.awk
root@ubuntu:/home/google#