Bash Scripting - Variables
Given this script:
```bash
export GLOBAL_VAR=100
function modify_vars() {
local LOCAL_VAR=200
GLOBAL_VAR=300
}
modify_vars
echo "$GLOBAL_VAR $LOCAL_VAR"
```
What will be the output and why?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions