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

Join The Discussion