Multiple choice technology programming languages

How can I forward all the arguments given to my script to another command? Here Command is the name of the command to be execute.

  1. Command “@$”
  2. command \${@:+"\$@"}
  3. command \${"\$@+@:”}
  4. Command “$?”
Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The syntax ${@:+"$@"} uses shell parameter expansion to conditionally expand to the array of arguments "$@" only if they are set/non-null, preventing empty-argument propagation issues in certain shells when zero arguments are passed. The other options contain invalid syntax or expand to exit status ($?).