Examveda
Examveda

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: Option D


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux