Vidyalelo
Computer Science · Q355

Linux

Engineering and GATE · Computer Science · question 355

Q355

What is the output of this program? #!/bin/bash for i in 2 3 7 do echo "Example" done exit 0

A.
'Example' will print 3 times
Answer
B.
Nothing will print
C.
Program will generate an error message
D.
None of the mentioned

Answer: Option A

Solution

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