jdjdjdjdokkkk6289 jdjdjdjdokkkk6289
  • 14-07-2019
  • Computers and Technology
contestada

What is the difference between an argument and a parameter variable?

Respuesta :

PhantomWisdom PhantomWisdom
  • 17-07-2019

Answer:

The value enter in the function calling is called argument. Argument passed to function.

The variable declare in the function to capture the pass value from the calling function is called parameters.  

Explanation:

Argument is used in the calling function and parameter is used in the defining the function.

for example:

//create the function

int count(parameter_1, parameter_2,.....)

{

  statement;

}

count(argument_1. argument_1,.....);   //call the function

Answer Link

Otras preguntas

What do Bugs and Bud eat for supper in Hooverville
A car traveling at 98 km/h comes to a stop in 15 s. What is the car's acceleration in km/h/s?
Factor completely x 3 + 2x 2 – 15x
How long does it take for the average new drug to be tested and approved for sale in the United States? a. 11 years b. 6 years c. 3 to 5 years d. 2 years
Consider that the room is a closed system. Ryan uses the chemical energy in his muscles to create the energy of motion. He uses this energy of motion to pull th
What is a union of independent sovereign states?
How old would you be today if you were born in 1977?
Which of these components of roots is a differentiating region? A. Stele B. Apical meristem C. Cork
two waves collide and the temporary combined waves that results is smaller that the original wave. which term describes this interaction? A. destructive interfe
Teotihuacán is located in