Vidyalelo
Computer Science · Q225

Linux

Engineering and GATE · Computer Science · question 225

Q225

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

A.
nothing will print
B.
"example" will print 5 times
C.
"example" will print 4 times
D.
"example" will print only 1 time
Answer

Answer: Option D

Solution

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