Vidyalelo
Computer Science · Q810

Linux

Engineering and GATE · Computer Science · question 810

Q810

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

Answer: Option D

Solution

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