What is the diffrence between parametrs and argument ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 18

What is the diffrence between parametrs and argument ?

please explain with an example code if u can

4th Apr 2018, 6:17 AM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
2 Antworten
+ 16
(from Quora:) "A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters. Parameter is a variable in the declaration of function. Argument is the actual value of this variable that gets passed to function."
4th Apr 2018, 7:45 AM
David Ashton
David Ashton - avatar
+ 11
thank u verymuch both of u ☺
4th Apr 2018, 11:38 AM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar