Bash Scripting - Variables
What will be the output of the following script?
```bash
MYVAR=hello
function test_func() {
local MYVAR=world
echo "$MYVAR"
}
test_func
echo "$MYVAR"
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions