0
Es lo mismo un parĂĄmetro y un argumento?
tengo esa duda si es lo mismo un parĂĄmetro y un argumento
4 Answers
+ 25
FunciĂłn para calcular el promedio:
float average(int a, int b){ // parĂĄmetro
return a+b/2.0;
}
function call:
float result = average(2,5);
// 2 y 5 son argumentos
+ 23
Translation:
Is the same a parameter and an argument?
I have that doubt if it is the same a parameter and an argument
Regarding theory, I have found that they refer in explanations to parameter and argument and I have that doubt, the difference between those two concepts. Reference VS parameter
0
respecto a la teorĂa, he encontrado que hacen referencia en explicaciones a parĂĄmetro y argumento y tengo esa duda, la diferencia entre esos dos conceptos.
referencia VS parĂĄmetro