Examveda
Examveda

What is the output of this program?
#!/bin/sh
echo "Just call the function"
hello_function
hello_function() {
   echo "This is a function"
}
exit 0

A. only first string will print without any error

B. only second string will print without any error

C. both strings will print

D. none of the mentioned

Answer: Option D


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux