argumentis the information included between the
()when any given
parameteris a variable containing the information passed in from a
function. It is just a predefined variable containing any information sent in!
Daniel Shiffman - Learning Processing:
Technically speaking, arguments are the variables that live inside the parentheses in the function definition, that is, “ void drawCar(int x, int y, int thesize, color c) . ” Parameters are the values passed into the function when it is called, that is, “ drawCar(80,175,40,color (100,0,100)); ” .
What is correct?