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

At the end of the chapter, Frederick explains the death of other slaves. What point is Frederick tryna make by describing these deaths? HELP PLSS ITS DUE AT 11:
What opinion did the United States government have towards Native Americans during the Manifest Destiny era?
While abroad, students must overcome the initial homesickness and culture shock,.......... toa different teaching style, adapt to unfamiliar social and cultural
40 POINTS ASAP PLEASE HELP Which experimental result best matches the theoretical probability of the event? A. Liza has an 8-sided number solid that is numbe
24. Describe cardiorespiratory endurance.
PLEASE HELP ITS FOR AN ASSIGNMENT THATS DUE TODAY
Please I need major help
PLS HELP FOR BRAINLIST...
Which feature completes the Venn diagram? O Established goals in a Preamble O Required a balanced budget O Established a system of public education O Provided f
Can someone help me !!