After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
A.
A B
B.
A B C
C.
A C
D.
B C
E.
C B A
題解
在 Bash 中,「$1」表示第一個參數,「$2」表示第二個參數。所以答案是選項 A。
MagicLen · https://magiclen.org
本站也提供简体中文版。切换到简体中文版
After issuing:
in Bash, which output does:
Produce?
A.
B.
C.
D.
E.
在 Bash 中,「$1」表示第一個參數,「$2」表示第二個參數。所以答案是選項 A。