Examveda

What is the output of this program?
#!/bin/bash
function hello_function1 {
    echo "This is first function"	
}
hello_function2() {
    echo "This is second function"
}
hello_function1
hello_function2
exit 0

A. This is the first function

B. This is the second function

C. This is the first function
This is the second function

D. program will generate error because first function definition is not correct

Answer: Option C


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux