What is the output of this program?
#! /usr/bin/awk -f
BEGIN {
a=0
do {
print "example"
a++
} while (a<5)
}
#! /usr/bin/awk -f
BEGIN {
a=0
do {
print "example"
a++
} while (a<5)
}
A. "example" will print 4 times
B. "example" will print 5 times
C. nothing will print
D. syntax error
Answer: Option B
Join The Discussion