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 is the solution to the proportion x\45 = 8/18 a.x =16 b.x =20 c.x =35 d.x =101.25
use the term petition in a sentence about the colonist struggle with the britain
the federalist papers were intended to do what?
In a republic, what happens if people become dissatisfied with the way the representatives are going?
How is sales tax similar to a flat tax?
What is the subject in this simple sentence? Marsupials are an interesting group of mammals. a. mammals b. Marsupials c. are d. group
What does the title, “Two Kinds” refer to?
Camille uses a 20% off coupon when buying a sweater that costs $47.99. If she also pays 6% sales tax on the purchase, how much does she pay?
Which BEST describes how a parliamentary democracy differs from a presidential democracy? A) The legislative branch in the presidential system is always unicame
Plants seemed to evolve in which order?