Examveda
Examveda

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

A. 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


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux