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

How was life similar for colonists across the Middle Colonies?
Suppose the least allowable height of the race car in Problem 6 was 52 in. and the desirable height was 52.5 in . What absolute value inequality describes he
Find the first five terms of each sequence. aₙ=a n₋₁ +2 n , where a₁ = 1
the paraphrasing of the bay by james k baxter​
Which of the following is an antonym of the word "danger"? A. Pushy C. Determined B. Safety D. Fear
the sum of 15 and the product of 5 and z
Fill in the blank with the verb SER in the present tense. El maestro estricto
The nurse is assessing a patient with a probable diagnosis of first-degree av block. the nurse is aware that this dysrhythmia is evident on an ecg strip by what
Musical illustration of the meaning of a word or a short verbal phrase. Strongly used in madrigals of the Late Renaissance
y = 1/x y = 3/4-x³ .