Examveda

What is the output of this program?
#!/bin/sh	
var="Example"
demo_function() {
    var="Linux"
    echo $var
}
demo_function
exit 0

A. Example

B. Linux

C. Command not found

D. None of the mentioned

Answer: Option B


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux