What is the difference between an argument and a parameter?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Melbourne, Lives in Melbourne, Australia.
An argument in context with functions is the actual value that is passed to the function ( as input) ,when it is called. However parameter refers to the variables that are used in the function declaration/definition to represent those arguments that were send to the function during the function call.
2023-05-12 12:30:23
评论(499)
Helpful(122)
Helpful
Helpful(2)

Julian Patel
QuesHub.com delivers expert answers and knowledge to you.
An argument in context with functions is the actual value that is passed to the function ( as input) ,when it is called. However parameter refers to the variables that are used in the function declaration/definition to represent those arguments that were send to the function during the function call.