Vidyalelo
Computer Science · Q205

Linux

Engineering and GATE · Computer Science · question 205

Q205

What is the output of this program? #! /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
Answer
C.
nothing will print
D.
syntax error

Answer: Option B

Solution

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