Given the following script, why does the output come out as an empty line instead of "dog"()#!/bin/ksh $VAR=dog echo "${VAR}"
- A、The $VAR variable was not exported.
- B、The $VAR should have been set as VAR.
- C、dog needs double quotes around it when setting $VAR.
- D、The { } should not be around VAR in the echo command.
正确答案:B
答案解析:有

微信扫一扫手机做题