Computer Science, asked by trusharmachhi4, 4 months ago

Explain scope and lifetime of a variable​

Answers

Answered by mohityadavji2008
0

Answer:

The scope of a variable refers to the areas or the sections of the program in which the variable can be accessed, and the lifetime of a variable indicates how long the variable stays alive in the memory.

Explanation:

please mark me brainlist

Answered by pro2007
0

Answer:

The scope of a variable refers to the areas or the sections of the program in which the variable can be accessed, and the lifetime of a variable indicates how long the variable stays alive in the memory.

Similar questions