B Bảo Vy Member Sep 21, 2021 #1 What is the output of the program? Code: #! /usr/bin/awk -f BEGIN { a[1,1]=0 a[1,2]=1 a[2,1]=2 a[2,2]=3 for(i=1;i<3;i++) { for(j=1;j<3;j++) { print a[i,j] } } } A. 0 1 2 3 B. 0 2 C. 1 3 D. syntax error
What is the output of the program? Code: #! /usr/bin/awk -f BEGIN { a[1,1]=0 a[1,2]=1 a[2,1]=2 a[2,2]=3 for(i=1;i<3;i++) { for(j=1;j<3;j++) { print a[i,j] } } } A. 0 1 2 3 B. 0 2 C. 1 3 D. syntax error
Nguyễn Hồng Yến New member Sep 21, 2021 #2 Answer: b Explanation: None. Output: root@ubuntu:/home/123hoidap# ./test.awk 0 2 root@ubuntu:/home/123hoidap# Upvote 0 Downvote
Answer: b Explanation: None. Output: root@ubuntu:/home/123hoidap# ./test.awk 0 2 root@ubuntu:/home/123hoidap#