What is the difference between $* and $@?

  1. $* returns the number of arguments passed whereas $@ represents the arguments list.

  2. All arguments are double quoted using $* whereas all arguments are individually double quoted when using $@.

  3. $* is used in for loop whereas $@ is used in while loop.

  4. $* and $@ are same


Correct Option: B

Find more quizzes: