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
#!/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
Join The Discussion