Vidyalelo
Computer Science · Q983

Linux

Engineering and GATE · Computer Science · question 983

Q983

What is the output of this program? #! /usr/bin/awk -f BEGIN a=5 while (a<5) print "example" a++;

A.
nothing will print
Answer
B.
"example" will print 5 times
C.
program will generate syntax error
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board