What is the output of this program?
#!/bin/sh
demo_function() {
echo "Welcome to the Example"
printf "World of Linux\n"
}
unset -f demo_function
demo_function
exit 0
#!/bin/sh
demo_function() {
echo "Welcome to the Example"
printf "World of Linux\n"
}
unset -f demo_function
demo_function
exit 0A. Welcome to the Example
B. World of Linux
C. both Welcome to the Example and World of Linux
D. nothing will print
Answer: Option D

Join The Discussion