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

Why do local variables lose their values between calls to the function in which they are

defined?

Respuesta :

ExieFansler ExieFansler
  • 26-07-2019

Answer:

Variables which are declared within a function are called Local variables.They are named local because they are used locally only means they cannot be used outside the function in which they are declared.These local variables exist in the memory till the function execution starts and are deleted when the execution of function ends.Hence they lose their value between calls to the function in which they are declared.

Answer Link

Otras preguntas

What are some factors that might cause our percent yield to be greater than 100%? What are some factors that might cause it to be less than 100%? Make sure yo
Which organ remained in the body during mummification, as it was believed to control a person's emotions and intellect?
what term refers to a system in which one branch of government is prevented from seizing too much power
(1) To James, good form came above all else. (2) Therefore, on being introduced to Lady Weathers, he bowed, took her hand, and kissed it lightly. (3) Then, glan
What is 7/10 - 2 4/10
Metabolic rates begin to slow at which life stage?
how can you tell if an equal share is more than one whole ?
What best describes Henry Clay's American system of the Early 1800
How long did the Lewis and Clark Expedition last? A. eight months B. one year and three months C. two and a half years D. five years and seven months
Multiply. Write the answer in lowest terms. 5/7 x 11/7 x 5/6