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

Select all of the expressions that are equivalent to -3.
What is the correct answer?
What regional dish was invented as a punishment for a husband with a wandering eye?
an alphabet with 22 characters and standardized weight and measures were spread throughout the mediterranean region by which group?
This question is Twelfth grade math please help fast . 2x - (2y + 5) = 8
What are the descriptions of Domain Archaea, Domain Bacteria, and Domain Eukarya
HELP QUICKY NEED THIS ANSWER NOW!! WHAT ARE THE EXPEESSIONS??
Explain in your own words what Article 4 means.
help ASAP! give me the defintions for all of them please nd thanks
The Student Council raised $3,900 last year, which is 40% of the money they raised this ear. What is the total amount they raised this year? Set up equivalent r