Question: What is the difference between a parameter and an argument?

  1. An argument can have many values while a parameter can have only one value.
  2. An argument is the variable used for input values in a method. A parameter is the specific input value passed to the method.
  3. A parameter is a variable in the declaration of a function. An argument is the value of this variable that gets passed to the function.
  4. Parameters and arguments are the same

Answer: The correct answer of the above question is Option C:A parameter is a variable in the declaration of a function. An argument is the value of this variable that gets passed to the function.