Examveda

What is the output of this program?
#! /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


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux